Saturday, April 6, 2019

最全面、最简单、最有用的养生指南

Here is the link.

护颈椎、养血管、降血压,养生大工程要取得好结果,最要在意日常的小积累,怎么做呢?

1. 这样养颈椎↓

时间
护颈椎要点
备注
7:00
加个披肩或围脖
出门前也别忘了披上一件披肩,抵挡秋风对颈背部的侵袭。
10:00
做个颈椎操
在座位上坐直,先做几个深呼吸放松身体,然后分别做“前后点头”。
19:00
吃个“补肾餐”
中医认为,胡桃、山萸肉、生地、黑芝麻、牛骨等具有补肾髓的功能,可以把这些材料加入到你的晚餐中,以起到强壮筋骨,推迟肾与脊柱蜕变的效果。
21:00
学学大鹏展翅
看电视时,不妨见缝插针地学一学大鹏展翅:双脚分开与肩同宽,然后缓慢地弯腰至90°,两个手臂模仿大鹏飞行一样伸展开。这个动作可以帮你增加颈椎部肌肉的韧性。
23:00
选个好枕头
中间低,两端高的“元宝形”枕头对颈椎有很好的支撑作用,可以让颈椎得到很好的休息。对于颈椎不好的人来说,放弃过度柔软的弹簧床吧,木板床、棕绷床才是最佳的选择。


2. 这样养血管↓

时间
养血管要点
备注
8:00
早餐来杯豆浆
大豆中的的蛋白质是属于优质蛋白质,多不饱和脂肪酸更加丰富,对心血管有益。
10:00
喝杯苦荞茶
经常泡上杯苦荞茶,既补充水分,又有益血管健康。苦荞茶中的硒可以预防血管老化。
12:00
来点血管喜爱的食物
果蔬:每天一斤蔬菜半斤水果;鱼类:每周至少吃一次鱼,可以预防心血管疾病;
膳食纤维:全谷类薯类、蔬菜、水果种都富含膳食纤维。
15:00
一小把坚果
坚果大部分都是不饱和脂肪酸,有利于提高血液中“好”胆固醇,降低“坏”胆固醇。
19:00
饭后百步走
晚饭1个小时后出去走走,对控制血脂很有帮助。最好持续时间40-60分钟左右,让自己微微出汗,能够提高血液循环,避免血栓。

22:00睡前床头放杯水睡前小口喝点温开水,能稀释血液,防止血栓发生。老人最好在床头放一杯水,起夜完厕所后,可以少喝一点补充水分。

3. 这样降血压↓

做法
降血压要点
备注
减少钠盐摄入
腌制、卤制、泡制的食品以及烹饪用盐,应尽量少用;在烹调时尽可能用量具(如盐勺)称量加用的食盐;用替代产品,如代用盐、食醋等
每人每日食盐量逐步降至6g
规律运动
步行、快走、慢跑、游泳、气功、太极拳等可根据自己的爱好灵活选择;量力而行,循序渐进;目标对象为没有严重心血管病的患者。
强度:中等量;每周3~5次;每次持续30分钟左右
合理
膳食
食用油每人<0.5两/日;少吃或不吃肥肉和动物内脏;其它动物性食品不超过1~2两/日;蔬菜每日400~500g,水果100g;蛋类每人每周5个;适量豆制品或鱼类;奶类每日250g
营养均衡
控制体重
减少总的食物摄入量,增加足够的活动量;肥胖者若非药物治疗效果不理想,可考虑辅助用减肥药物
体重指数(kg/m2)<24; 腰围:男性<90cm;女性<85cm
戒烟
一般推荐采用突然戒烟法,在戒烟日完全戒烟;必要时戒烟咨询与戒烟药物结合
彻底戒烟,避免被动吸烟

限制饮酒高血压患者不提倡饮酒;酗酒者逐渐减量每天白酒<1两、葡萄酒<2两、啤酒<5两

4. 这样防痔疮↓

时间
防痔
要点
备注
6:30
起床后一杯水
水是促进肠道蠕动帮助排便的。然后,揉揉肚子!要顺时针按摩小腹,帮助排便。

7:00
蹲马桶不超5分钟
蹲马桶的时候不要玩手机!不要看报纸!这些都会干扰大脑给括约肌发布排便指令。蹲马桶的时间不要超过5分钟。

10:00
奖励自己一个水果
多吃含纤维的食物有助于预防便秘,苹果、梨、西瓜、香蕉都是不错的选择。

12:00
蔬菜配粗粮
蔬菜中也有很多富含纤维素,比如甜菜、西兰花、甘蓝科蔬菜、胡萝卜、绿豆、菠菜、芹菜、茭白、豌豆等。全麦、麦麸等谷类食物也是不错的选择。

15:00
运动有帮助
建议每小时至少活动一下,3-5分钟就行,让括约肌处的静脉血液循环恢复恢复,可以有效减少痔疮的发病率。

18:00
做做提肛操
可以利用零星时间做做提肛动作,促进括约肌处的静脉血液循环。有意识地收缩尿道、阴道、直肠括约肌,然后放松。如此反复50 -100 次,建议每日2-3 遍效果最佳。

21:00
睡前温水坐浴
每天临睡前用温水清洗臀部并坐浴10分钟,有助于此处肿大的静脉收缩,还有止痛、止痒功效。

22:30
准时入睡不熬夜
肠道一般利用晚上休息的这段时间进行润滑工作,吸收营养,排出废物,这样第二天才能顺利排便。所以,保证充足的睡眠,也是预防痔疮的方法之一。


5. 这样护骨↓

时间
护骨
要点
备注
7:00
给膝盖做按摩
平躺在床上,双手从上到下再从下到上揉捏按摩大腿正前方的股四头肌。股四头肌是人体最大最有力的肌肉之一,自我按摩可让肌肉血液循环更好。3~5分钟即可。

11:00
给小腿加加油
建议坐了两三个小时即站起散步十五至二十分钟。还可以坐着时勾勾脚背3~5秒,能改善小腿肿胀。

13:00
给颈椎拉拉筋
坚持多仰望天空,开始的时候可能会感觉酸胀,甚至肩膀和手臂也会感到酸麻,这说明已经有问题了,更需要好好改善。另外,还可以多向左侧、右侧歪歪头或者转转头。

17:00
让双手练套操
先握拳,再用力张开双手,再握拳,接着用力伸出大拇指,再握拳, 用力张开除大拇指之外的四指,主要是为了把手指功能练开,锻炼手上很少用到的肌肉群和韧带。

21:00
给肩膀减负
搓澡耸肩就能轻松。一只手臂内旋从背后由下向上摸背,一只手臂从背后由上向下拉,用毛巾连接两臂,这样搓搓澡。这个动作能很好地活动肩部关节和肌肉,舒缓肩部疲劳。

22:00
给腰椎放假
建议仰卧睡觉或者休息时,可尝试在膝盖腘窝下方垫一个1到2厘米的软枕,这样可帮助腰椎紧贴在床面上,让腰椎回到休息位。腰部肌肉松弛下来,人也会轻松起来④。


6. 这样养胃↓

时间
养胃
要点
备注
7:00
喝杯温开水
早起喝一杯温开水,能清洁消化道、补充夜里身体流失的水分,稀释渐趋浓稠的血液,还有益于早餐的消化吸收,促进排便。不宜喝凉开水,因为早晨是人体阳气生发之时,喝凉水属于“逆势而为”,容易给胃部造成不良刺激。

8:00
早餐吃热食
调查表明,不吃早餐会引发肝胆病、胃病。一份均衡的早餐中应包含谷类、奶类、肉类、豆制品以及水果、蔬菜等几大类食物,每样都吃点,以保证充足的营养。  

9:30
晨练别受寒
冬季晨练要避开雾霾,亲近阳光,“赶迟不赶早”。等阳光明媚、气温上升后,再出门锻炼,运动时做好热身,护好腰腹、关节。

12:00
午饭前喝汤
在食物比较干而唾液分泌不足的情况下,适量的汤水有益于消化和吸收,尤其适合在冬季肠胃“懒惰”时。汤水能够稀释唾液和胃液,但是对肠道消化液的影响很小。

15:00
找老友聊天
不少人生气后一点胃口都没有,原有胃病的还会加重。冬天人的心情容易随气温一起变得低落,多和家人老友聊天,可以让心变暖,胃也会随之暖和起来。 

18:00
晚饭别太饱
晚餐一定要控制在“七八分饱”。每顿少吃一点,两顿正餐之间适量加餐,既保持总量,又不会让胃挨饿。

19:00
站立助消化
胃容易有灼热感(烧心)的人,尽量不要饭后躺着或久坐,否则容易反流到食道,使症状加剧。用餐后半小时以内不要做剧烈运动。


Thursday, April 4, 2019

Case study: weekly contest 112 ranking 164

Here is the profile. I like to write union find algorithm based on the player's submission.


Case study: weekly contest 112 ranking 158

Here is the profile. He solved 1014/ 1015 algorithms. He joined Google.

Case study: weekly contest 112 ranking 156

Here is the profile. I like to look into how the player advances himself and join Microsoft as a junior engineer in 2019.


Can I be a hard working person?

April 4, 2019

Introduction


Honestly I have to push myself very hard in order to be a outstanding programmer. I like to solve another 300 algorithm in next six month. I choose to be hard working person and also I need to learn how to focus on problem solving daily on algorithm.

Learn from a few role models


I studied weekly contest 112 on leetcode 947. I like to share a few role models from top 200 players, so I can motivate myself to work hard.

I do not need to push myself to be one of top players, Googler, who finished over 1000 algorithms.

I need to set up 10 stages in order to solve over 1000 algorithms from 378 solved today.

It is such great learning experience to know those top players. My ranking of contest is 15000, and those top 200 players are usually before top 5000 players.

Ranking 102, leetcode profile. Solved 992/ 1015, global ranking 356/ 90378, intel engineer, Ph.D.

Ranking 117, leetcode profile. Solved 752/ 1015, global ranking 3486/ 90378, JP Morgan Chase, Googler, linkedin profile.

I am interesting in learning that a top programmer can be trained by himself. Good math, good teaching and learning skills.

I like to advance myself ranking, at least let me encourage myself daily. Solve 10 algorithms a week.

Performance improvement


I have to learn how to solve more algorithms first. As a result, I may be able to improve my performance easily. I need to study the performance graph from Ranking 117.


Here are performance comparison.



Last year submission 


I did 959 submission, solved 270 algorithms.
Ranking 117, 1370 submission, estimated algorithm solved in last 12 months: 540 algorithms.

Total submission


I did have 1433 submissions.
Ranking 117, 8810 submissions.

I only had submission from 2015 to April 2018 less than 500 submissions, ranking 117 has 7500 submissions.

I need to find time to solve more algorithms.

Follow up 

Oct. 9, 2019

I solved 52 algorithms from April to Oct 9 2019. My mark is 430 algorithm, back in April 2019, I solved 378 algorithms.

I spent time to work on system design, and took time to work on tree algorithm and graph algorithm, so I slowed down to solve more algorithms.

I need to come out more ideas to track my progress, so that I can be on right track to advance myself in terms of problem solving skills. I like to see my weekly contest performance better, I like to see my post with more upvotes, and I like to see most posts I write to share my experience, how I address my learning process each doubt and concern properly.

To advance career, every one has its own path.

Last 6 months, I spent a lot of hours to study personal finance, investment as well.

Oct. 30, 2019

I just solved the easy level tree algorithm. I solved 450 algorithms today. I did 9 easy level array algorithm from Oct. 21 to Oct. 30.
Here is my 450 mark - a tree algorithm, the link is here.

How to save time to work on the important project?

April 4, 2019

Introduction


It is my short research. How to save time to work on the important project? I was so busy starting from Nov. 2018, I worked on personal finance research, I extracted three molar teeth, I worked on my hay fever second year. I had to push myself to learn how to be a good software programmer in the world.

How to save time?


I need to save time to work on the important project. I need to learn from so many videos, books, articles in order to learn how to be a frugal personal, minimalism, and also learn how to control my expenses, live under my means.

I do not have time for the study every day.

More important project


I need to keep the habit to challenge myself using algorithm problem solving daily.

Solve another 300 Leetcode algorithms?

April 4, 2019

Introduction


It is my choice to live an easy life from Nov. 2018, and I can spend time to continue to do personal finance research. Or I can push myself to solve another 300 Leetcode algorithms, and also advance my ranking on weekly contest, learn from more top players.

Solve another 300 algorithms


I know that it is hard for me to push myself to solve problems. I like to learn to control things I can control, and let go those things I cannot control.

This March I could not pass online code screen. It is the biggest alarm and I like to push myself hard. In order to achieve the goal, I can control how many algorithms I think and work on in daily basis. I can control how I should catch up algorithms in weekly contest.

I was too busy


I finally had time to work on weekly contest 112 algorithm 947 remove stones. I played the contest in Nov. 2017, but I did not write the algorithm 947, and I did not have time to study the algorithm at all. After more than 4 months, I finally spent time to work on the algorithm.


Case study: Why it is hard to go over top 200 players on weekly contest 112 on graph algorithm

April 4, 2019

Introduction


It is such great learning experience. I spent last two weeks to work on union find algorithm, graph algorithm. Most of time I worked on the same algorithm from weekly contest 112. I like to write a case study on learning experience.

Case study


A few goals are set up for me to work on.

1. Work on weekly contest ranking.
2. Find top players and learn from those players from their code and experience.
3. Learn how to write union find algorithm, ranking, size, find, path compression, time complexity etc.
4. Learn how to hack a solution using just partial code of union find
5. Learn how to rewrite union find algorithm using C#
6. Time my practice, debug skills, and my emotions related to learning, troubleshooting and understanding
7. Learn to push myself to learn algorithms through weekly contest top players
8. How to solve the problem in less than 10 minutes?
9. How to solve the problem in less than 30 minutes?
10. How to solve the problem in less than 45 minutes?
11. Learn all kinds of solution, prepare to give to interviewees on interviewing.io
12. Figure out what are my weakness compared to those top players

Difference between 2019 and 2015 - 2017


2015 - 2017
The first two years I was a rookie on Leetcode.com. I did not know there are so many discussion on discuss panel. I always searched Google.com and then found some Chinese student and learned from their sharing.

2019
After more than 30 contests, I figured out how to read top players' code and learn from them. I did find out so many ideas to solve an algorithm. It is a lot of hard work since I have to learn from 200 players who scored all algorithms in weekly contest 112.

I need to learn how to shorten the time to learn more players. Right now, I did find out that my debugging and analytical skills could not catch up.

Union find algorithm



It is interesting journey to practice union find algorithm last two weeks. I worked on Leetcode 685, 720, 130 first, and then I came cross those algorithms I missed in weekly contest.

I chose to work on one of weekly contest 112 Leetcode 749, and then I started the journey to play with so many ideas related to union find implementation.

The code written in the contest usually are short and is very easy to follow. But I still spent more time than I expected.




Case study: Union find algorithm study code - ranking 176

April 4, 2019

Introduction


It is my study time to go over those union find algorithm from top ranking 100 to 200 in weekly contest 112 on Leetcode.com. I like to write a case study on my learning of player 176.

Case study


I chose to write a C# code based on player ranking 176. I wrote C# code but I found out the code could not pass online judge.

It is good thing since I can learn how to trouble shooting the problem. I could not pinpoint the bug, so I continued to study more about union find algorithm.

After more than one hour study, I found the bug. I submitted the code, here is my C# code.

I also learned how to write a path compression function using iterative solution. I learned from the website of lecture note.

Iterative way path compression


I also like to continue to learn.

Buggy code 


It took me more than one hour to find the bug. I spent time to write down each step of union, and then figure out why there are two trees in test case 1. One of reasons is that Parent member should be private, so that it can not be accessed directly, only available for function Find.

Rule No. 1
Only work on root of tree in union find. Connect one root as another root's child. Do not confuse the parent node with root node.

Wednesday, April 3, 2019

9 Ways to Avoid Lifestyle Inflation – Spending Less When You Earn More

Here is the link.


The Secret Reason You are Poor - Lifestyle Inflation - The Cost of Living

Here is the link.

9 Things You Should NEVER Do With Your Money

Here is the link.

1. Custom house
2. Sit around $$
3. Spending $ you don't have
4. Dumb investments
5. Actual gambling
6. Living above means
7. Buying on margin
8. Not saving for emergency
9. Credit early




Case study: Comparison of union find algorithms experience

April 3, 2019

Introduction


I like to compare the experience I had on union find algorithms. It is my short research and I like to figure out what I can do in order to master the algorithm.


Comparison study


I like to compare three experience I have so far.

Case 1: Experience on Hackerrank

I worked on union find algorithms again and again on contests, I got over 10 medals. Most of time I had to work on graph algorithm. I applied union find algorithm to solve a few algorithms from 2016 to 2017.

Case 2: 100 minutes work with my ex-coach

I also hired a private coach who gave me a session on union find algorithm. I paid 100 Canadian dollar for 100 minutes session. 10 session I paid $1000 Canadian dollars in less than two weeks.

Case 3: Study top 50 player's submission on Leetcode 947 stones removed on weekly contest 112.

I spent time to study all top 50 player's submission on the algorithm, I learned a few union find algorithm. I spent time to write C# code.

Case 4: Study ranking from 100 to 200 players, I wrote a case study here.





6 Reasons Why You're Broke

Here is the link.

1. Not investing - inflation 2-3%
2. behind on credit cards
3. Stupid loans - car loan, $30,000 car loan if you make $30,000 dollars a year
4. Happiness > finances
5. Too much housing
6. Not tracking expenses


Case study: 2000 August I cried since online gaming was moving to Las Vegas

April 3, 2019

Introduction


It is my personal finance research. I like to go over a few case studies and like to look into how I was a problem solver back in 2000.

Case study


I cried for a few times since I had to move with one small team to Las Vegas while other stayed in Boca Raton as a second branch.


How to Invest in the Stock Market for Beginners

Here is the link.

How to invest in the stock market for beginners

- Buy safe stocks (>80%)
 Coca cola, Bank, Etf's
- Stay away from spec, tech, comm.
- get dividends & reinvest
- buy when every one else is selling
- pay attention to the news
- don't invest less than $500 at a time


Leetcode 947 remove stones - practice 7

April 3, 2019

Introduction


It is my 7th practice. I chose to study code from weekly contest 112 top 58th player's code. I like to learn how to write simple depth first search algorithm to solve the problem.

My practice


Here is my C# practice.


Leetcode 947 remove stones - practice 6

April 3, 2019


Introduction


It is my sixth practice. I like to learn how to write a union find algorithm with a good design of rank feature.

My practice


Here is my C# code based on weekly contest 112 ranking No. 13 player.


Leetcode 947 remove stones - practice 5

April 3, 2019

Introduction


It is my fifth practice. I chose to learn how to write a union find algorithm including ranking feature based on ranking No. 12 player of weekly contest 112.

My practice


Here is my C# practice.


Leetcode 947 remove stones - practice 4

April 3, 2019

Introduction


It is my practice to master the algorithm, I choose to study various solution based on weekly contest top 50 players on weekly contest 112. The current practice is based on ranking No. 40.

My practice 


Here is the practice. The union find algorithm is implemented using Size of disjoint set as well.


Tuesday, April 2, 2019

Stock Market Crashing!!! Our Rules for Investing

Here is the link.

0:40/ 7:58
Rule #1:
Diversify your total portfolio

Rule #2:
Don't panic when the stock market fluctuates

Market corrections are common. Historically, stock market drops have not been permanent.
Every year there is fluctuation, around 13%.

Rule #3:
Historically, the stock market has always rebounded.

KEY: Invest Long Term.
Don't invest money that you'll need right away/ in an emergency

Rule #4:
Don't watch daily news on how your stocks are doing.


Rule #5:
Don't fall for the "buy-high, sell-low" trap.

Panic sale - selling low
Emotional sale and purchase

Rule #6:
Understand that everyone has their own opinion.

Rule #7:
Make our money work.

Rule #8:
Paper loss isn't a real loss ...
unless you sell.




Achieving Financial Independence in a Consumer Culture

Here is the link.

Comparison study

April 2, 2019

Introduction


It is challenging for me to find time to practice graph algorithm. I played weekly contest starting from Sept. 2018, but I did not have time to study the graph algorithm in weekly contest 112 Nov 2018 until today.

Learning challenging 


I chose to study one of union find algorithm written by a top player ranking No. 13 on weekly contest 112. Here is the blog.

I like to compare two players and see what is the reason I could not push myself hard.




Actionable Items


I think that it is a good idea for me to work on more Leetcode algorithms. I may be able to solve 100 to 300 algorithm in next three months.



947. Most Stones Removed with Same Row or Column (Practice 3)

April 2, 2019

Introduction


It is the graph algorithm. What I did is to practice the idea from weekly 112 contest top player's submission.

My practice


Here is my practice. I need to fix one bug in the code.


947. Most Stones Removed with Same Row or Column (Practice 2)

April 2, 2019

Introduction


It is the graph algorithm. What I did is to study one of top player's code in weekly contest 112, and then I wrote a C# solution as well.

My practice


Here is my discussion link.


947. Most Stones Removed with Same Row or Column (Practice 1)

April 2, 2019

Introduction


It is my algorithm practice on union join algorithm. I chose to work on the algorithm in weekly contest 112. I chose to study a few top player's submissions, and then write C# code.

My practice


Here is one of my practice, I chose to write the solution and shared my tips using title:
C# Use partial of union find algorithm to solve the problem

Reaching Financial Independence: See Our Ten Stages

Here is the link.

1:47/ 12:01
Financial independent number - FIN number
How to calculate the number?
Annual expenses X 25 = Financial Independence

2:00/ 12:01
Using stock portfolio as an example

4% rule - 7% stock return.

10 Stages

1. Stage 1       < $0
2. Stage 2       = $0
3. Stage 3        > $1
4. Stage 4         $10,000
5. Stage 5         $50,000
6. Stage 6         10% FY number
7. Stage 7         25%
8. Stage 8         50%
9. Stage 9         75% FY number  (double 7 years)
10. Stage 10    100%

63 Practical Ways to Live a Frugal Life without Looking Like a Cheapskate

Here is the link.

Monday, April 1, 2019

30部必读的投资学经典书籍

Here is the link.

 全书名 《聪明的投资者》(The Intelligent Investor: A Book of Practical Counsel)又译作《智慧型股票投资 人》

全书名 《金融炼金术》(The Alchemy of Finance) 被誉为:投资者的投资指南,金融市场两部永恒的指导手册之一 被誉为
乔治·索罗斯这位金融奇才,堪称目前全球最具实力且获利最高的投资人,他的《金融炼金术》一书被 公众当成投资指南。

 全书名 《漫步华尔街:股市历久弥新的成功投资策略》(A Random Walk Down Wall Street) 被誉为:70年代至今世界股票投资界最畅销的好书,亚马逊评为2001年度的最佳畅销书籍,美国 MBA 学 被誉为 生的必读教学参考书籍。

全书名 《克罗谈投资策略: 神奇的墨菲法则》(Kroll on Profitable Investment Strategies)
《克罗谈投资策略》是作者的第六本专著。

全书名 《克罗谈投资策略: 神奇的墨菲法则》(Kroll on Profitable Investment Strategies)
《克罗谈投资策略》是作者的第六本专著。

书名 《怎样选择成长股》(Common Stocks and Uncommon Profits)
本书作者广受美国华尔街推崇和敬重,是最具影响力的投资专家之一他的投资哲学约四十年前提出, 今天,不只金融专业人士仍详加研读并付诸实践,而且被许多人奉为投资理财方面的经典之作。

The Little Money Bible - Stuart Wilde

8 minutes book review. Here is the link.


Top 20 Habits of Highly Wealthy & Successful People

Here is the link.


Train Your Brain To Make More Money

Here is the link.

Like a garden, you need to take away the weeds. You need to remove the piece of software without your permission.


13 Things To Avoid If You Want To Become Rich

Here is the link.

1. The blame ego 2. The know it all ego 3. The fearful ego 4. The comfort zone ego 5. The judgemental ego 6. The excuses ego 7. The people pleasing ego 8. The justification ego 9. The jealous ego 10. The fake ego 11. The shy ego 12. The other people's opinions ego 13. The do it yourself ego

Sunday, March 31, 2019

How to spot job layoffs coming, even in a good economy

Here is the link.


Slow to adapt frugality

March 31, 2019

Introduction


It is hard for me to learn to be frugal. I still remembered last Friday we went out for Jenny's last day lunch. I tried to order $3.5 two small pieces desert. "I want to be a frugal person", this is the first time I said that in the party with coworkers.

Open house visit


I also spend a few hours today to visit open house in Surrey near Guildford mall. And this is the first time I thought about frugality. Why do I need to spend my last 10 years savings for a down payment. How can I make a living with over $200,000 debt without any saving left?

I thought about the home costs over $270,000 US dollars for just one bedroom. I prefer to rent and also live closely with others. I should not feel ashamed about living condition. I work hard and that is the best I can get. I still remembered that  I cried when I thought about my finance situation. I should not cry, I make a living and work full time.

I just choose to be happy and then continue to learn other things. I do believe that I have more challenging things to do compared to put myself in a debt. The price is too high and the commute is not practical. Renting business is tough and risky.

I saved $50,000 Canadian dollars in Canada banks working full time last 9 years, I did not learn how to invest on Vanguard total market index fund and then have any capital gain over $30,000 dollars.

The one bedroom owner in 149 st. purchased $160,000 dollars one bedroom in 2016, and started last Sept. to April 2019 to sell from $290,000 dollars, and now lowered to $277,000 dollars.

I do not need to worry about too much owing a home. It is too risky for me, since my asset in Canada is too little to be a home owner. Now the price is so inflated.

Compared to the seller, I learned hard lesson to save those $50,000 Canada dollars. I had to purchase a used car, and replaced the flat tire by myself, and also cut all my expenses from 2017, only food and no other shopping. I have lived in a small room last 10 years.

Actionable Items


It is my thinking process I have to work on. I have to be able to make decision based on frugality principle.

Follow up
Oct. 21, 2020
I just could not believe that I wrote the blog and it brought down my tears. I just could not believe that I have critical thinking and did not go for those inflated condo in the city of Surrey. Now the price went down, and it should go down more. 

Life is tough for an immigrant in Canada. But I do learn things from a stable job, and I think taking more risk in stock market, and focus on long term investment. 




2018 was the worst year of media layoffs since 2009

Here is the link.


投行裁完汽车公司裁 这是美国十年来失业者最难熬1年

Here is the link.


2018年,各个大公司以“业务调整”名义精简组织结构,大公司裁员的消息从未间断。到了2019年,这一切并没有变得好一点。先是花旗确定裁员,随后汽车行业、互联网行业的巨头们,“裁裁不休”。即使是被称为全球经济火车头的美国,失业者也迎来近十年来最艰难的一年。

从大数据看,尽管美国经济数据相对来讲并不差,失业率数据处于历史低位,劳动参与率高,工资增长10年来增长最快、首次申请失业救济人数回到近十年来的低点。报道称,纽约有23325个年薪超10万的职位空缺。其中,医疗保健、营销以及金融等领域的高薪职位空缺较多。

美国失业率在2018年持续降低,更是10月前后创下3.7%极低水平,这也是美国50多年来最低纪录。那么,为什么在过去六个月里,失业救济申请人数以一种“安静”的方式激增?

2019年开年,失业救济申请人数越来越多,为2009年以来最差年份。

究竟发生了什么?

分析认为,2018年美国经济强劲,但零售和汽车行业持续遭遇行业寒冬,一些大公司因经营不善和转型需要,裁员在所难免。以Verizon Wireless为例,公司以现转向5G业务为由,宣布裁员44000人。

为什么2019年开年,申领失业救济的创近十年记录呢?分析认为,各大公司在2018年宣布裁员,但最终完成时间都是在2019年初。

比如2018年最震撼的通用公司裁员,最后被裁员工的离职时间是在2019年初。2018年11月,美国通用汽车宣布在2019年裁员15%,其中,将薪资制员工及合同制员工的人数降低15%,管理层人数降低25%。通用宣布的这一裁员计划预计将造成全球14700名工厂工人和白领失业。

几乎在同一时间,美国第2大汽车制造商福特汽车也不断放风称,最多可能裁员2.4万人。

2018年放风,直到2019年2月底,花旗CEO Mike Corbat 才向向媒体证实:花旗已经准备好裁员20000人。

另一个让2019年申领救济金人数剧增的原因是,2018年大公司裁员正在陆续收尾,新的裁员信息又铺天盖地。

3月1日,独角兽WeWork裁员大约300名员工,约占其员工总数的3%;

本周三,美国艺电(EA)正在裁减350个非开发性工作岗位,主要涉及对象为市场营销和分析部门;

菲亚特克莱斯勒汽车周四表示,该公司将取消安大略温莎装配厂的一个班次,导致1500人被裁员……

最后,经济下滑压力和股市震荡,失业人数势必不断增多。据国际货币基金组织(IMF)最新预测,在今年1月分别下调2019、2020年全球经济增速预期0.2和0.1个百分点至3.5%和3.6%,这也是继去年10月后再度下调。

2018年一枝独秀的美国经济也将在2019年迎来重要转折,据美国政府、IMF和美联储预测,美国2019年GDP增速都将在2019年下滑。其中,在经济方面更加专业的IMF和美联储认为,美国经济在2019年-2020年的增速下滑曲线相对要陡峭得多。

Frugalwoods

Here is the link.


012 | Living Frugal with the Frugalwoods | How to save 75% of your take home pay

Here is the link.


029 | The Aspiring Minimalist Vs The Reluctant Frugalist

Here is the link.


Rohn: 5 Money Principles You Need to Know

Here is the link.

16 Rich Habits

Here is the link.




307-9952 149 Street

$274,800
Est. $1,014/mo


Property Description:

NEW PRICE - TOP FLOOR with Horizon View. 1 Bedroom + Den in Tall Timbers. Great unit in private complex surrounded by trees & gardens. West facing deck with newer vinyl decking and aluminum rail overlooking greenbelt. Laminate floors in main areas, Park like setting. Good size den could be used as bedroom/flex room. 1 parking stall in secure underground parking with ample outdoor visitor parking. Short walk to all amenities, Guildford Town Centre, TNT Supermarket, Guildford Rec Center, Short drive to Highway 1. Come see for yourself. Open House Sunday March 31st 1:00 - 4:00pm!

Property Overview
Property AgeBuilt in 1980 (39 yrs old)
Gross Taxes for 2017$834
Strata Maintenance Fees$265
AreaNorth Surrey
Sub-Area/CommunityGuildford
Property TypeApt/Condo
TitleFreehold Strata
Style1 Storey
Listing IDR2348995
Primary AgentTanveer Sandhu
Primary BrokerKeller Williams Elite Realty
Days on REW16 Days on REW
2016-05 $150,000

305-14925 100 Avenue

March 31, 2019

Introduction


It is Sunday open house time. I like to take a road trip to visit open house in the city of Surrey from 2:00 PM to 4:00 PM.

A one bedroom condo


305-14925 100 Avenue
Property Description:
Welcome to Forest Manor, located in the heart of Guildford. This spacious, top floor, one bedroom unit is well maintained with newer flooring, and a nice sized in suite storage. Enjoy your morning coffee on your private, covered balcony overlooking the nice courtyard on the quiet side of the building. One underground parking spot, and shared laundry. No rental restrictions makes this the perfect investment opportunity. The building is within walking distance to Guildford Town Centre, transit, schools, restaurants and recreation. A perfect opportunity for a first time home buyer wanting to get into the market! Call today for your private appointment. *Open House 2-4 Pm Sunday March 31*
Property Overview
Property AgeBuilt in 1981 (38 yrs old)
Gross Taxes for 2017$744
Strata Maintenance Fees$222
AreaNorth Surrey
Sub-Area/CommunityGuildford
Property TypeApt/Condo
TitleFreehold Strata
StyleUpper Unit
Listing IDR2351905
Primary AgentSpomenka Nikic
Primary BrokerOakwyn Realty Ltd.
Secondary AgentBoris Nikic
Secondary BrokerOakwyn Realty Ltd.
Days on REW5 Days on REW

Home Depot Stock Analysis - Stock Price and Performance

Here is the link.


Best Vanguard ETF Funds for 2019

Here is the link.

Vanguard total world stock ETF. (VT)

Low expenses of .10%  this is 91% lower than similar funds
Invests in foreign and US Stocks (over 8,000 stocks)
2.34% Dividend Yield

1 yr 
9.76%

The Growing Peril of Index Funds: Too Much Tech (wsj.com)

Here is the link. Here is the article.


25% index funds are allocated for technology funds. Apple, Microsoft, Google, Amazon Inc.

Let me quickly go over the stock price and intrinsic value for those four stocks. Based on Warren Buffet's theory, those stock are too high or too low.




Best Vanguard Funds For Your Portfolio

Here is the link.


国外,国内看牙

Here is the article.

“之前在国内的部分公立医院也看过很多次牙,到了美国私立诊所发现,美国看牙贵也是有原因的。”罗婷说,前些年国内的技术的确稍微逊色一点,而且美国的诊疗费用里,有一部分是服务费用,只要进到诊所里,无论是洗牙、补牙、拔牙还是种植牙,都能一条龙服务,医生和护士会很友好的打招呼并且征询患者意见。

但是,让国外患者觉得幸福的是:目前国内的技术和服务完全可以和国际比肩。“我带着美国的价目表回国对比过,国内高端的民营牙科诊所现在和美国的经营模式很像,无论是服务还是技术都给患者很好的体验,重要的是基本上所有项目的费用平均都比美国便宜近70%。”罗婷说。

举例对比,国内民营口腔诊所治疗补牙,平均一颗300-600元,如果需要做牙冠,一颗牙3000-9000元不等,但是美国一般补牙大约300美金(2100多元),要是需要做牙冠大约需要2000美金左右(1.4万元多);要是在美国种植牙,一颗平均3万-4万人民币,但是在中国,1万左右的种植体就有很多不同的选择。

除此之外,中国高端的口腔诊所对于洗牙、补牙、拔牙等基础治疗只要提前1—2天预约都不需要排队,最优秀的医生患者也可以在一周之内排到。

另外,再对比国内外的技术,中国的种植牙等高端技术完全领先大多数国家。泰康拜博口腔资深种植牙专家熊靖宇表示,现在中国很多老人满口都没有牙,同时牙槽骨流失严重,这些疑难种植病例我们都可以通过“穿颧”、“穿翼板”技术解决。这些高端技术让很多国内外患者慕名而来,中国口腔专家也在一直探索,让中国患者花更少的钱享受更精尖医疗技术带来的福利。花费少,医生的技术却丝毫不输国外,并且不用等“半年以后”才能排上号。

国内私立医院的环境和技术跟国外的医院也是完全可以相媲美。这就是为什么众多留学生宁愿频频花费昂贵的往返机票钱,也不愿在国外看牙的原因。


Weekly contest 130

March 31, 2019

Introduction


It is the weekly contest 130. I solved two algorithms, and also I wrote the last algorithm and only had a bug with a wrong variable name.

My performance


Here is my ranking. 


I solved the fourth algorithm, but there is a spell error in the code. Here is the discussion link.

I also had idea to solve the second algorithm, but I did not have time to write a short version of the answer.



My debugging skills

March 31, 2019

Introduction


It is the fourth algorithm in weekly contest 130, I solved the problem but I had a spell error. I only had less than five minutes left and I did not solve the bug. Based on the fact that I could not find the issue in the contest, I like to do a short research how to advance my debugging skills overall.

Spell error


Here is the discussion link I wrote about 1020 Number of Enclaves.


Is There a Bubble Forming in Stock Market Index Funds?

Here is the link.


Saturday, March 30, 2019

50s I start to cry a few times

March 30, 2019

Introduction


It is more challenge to live a healthy and happy life after I am over 50 years old. The first two years I tried not to let people know that I am over 50 years old.

Finance future


I start to push myself to work on personal finance research. I need to push myself hard, and I like to figure out ways to build wealth and grow rich.

It is tough. I need to prepare early, but it is never too late.

Tennis sports


I need to get myself back to more tennis sports. I start to learn the benefit of sports, specially it is so healthy to play double tennis game, I can get connected to others quickly and build support for sports activities.



How to pass online code screen any time?

March 30, 2019

Introduction


It is the first time I learn that I have to push myself hard to be a problem solver. Why? I failed the code screen this March 2019. I did not put any effort on preparation on code screen, last time I did successfully is July 2017.

Code screen


I did not apply any job since I like to work on the personal finance research. But I took the code screen and failed the test this March 2019.

10 reasons I failed


I have to review carefully and figure out how to improve my problem solving skills.

1. I do not practice hard level algorithms starting from July 2018.
2. I only played weekly contest after Nov. 2018. I did not practice algorithms in weekday and weekend from Nov. 2018 to March 2019.
3. I like to push myself hard to learn personal finance.
4. I choose to work on tree algorithm in mock interview on interviewing.io. I should try various algorithms instead.
5. ...



10 reasons I do not spend time on personal finance research before 2018

March 30, 2019

Introduction


It is my personal finance research. I try to figure out 10 reasons I do not spend time on personal finance research before Nov. 2018

10 reasons


I like to come out some analysis what are the top 10 reasons I do not spend time on personal finance research.

1. I do not know that I have spending problems.  I think that I have income problems.
2. I do not try hard enough to solve my housing problem in Vancouver area at all.
3. I feel pressure to hold a full time programmer job all the time.
4.

Ashleigh Barty - being a tennis fan

March 30, 2019

Introduction


It is time for me to spend 30 minutes to study the tennis player, Miami open 2019 champion.

Player study


Here is the video I watch.

Case study: 23 years in North America

March 30, 2019

Introduction


It is my personal finance research. I learn that I do not have enough time to work on my personal finance research, I did not start early first year 1996. There are so many things to learn and I am not ready to manage my cash and let them all park in the money market fund. Where did my time go? What are top 10 waste in my last 23 years in North America?

Case study


Top No. 1

Most of biggest waste is to talk and chat with my mom from 1999 to 2010. I stopped learning by myself, and most of time I spent time to chat with my mom using long distance calls.

I spent over thousands US dollars for international long distance calls with my mom and my relatives. I did not say enough no to my mom on those expenses.

Top No. 2

Cloth shopping.

I spent 22 shopping trips from 2011 to 2015 to Bellingham, WA state. I wasted those money over $5,000 US dollars on clothes. Also I spent over 4 hours on round trip, total hours at least hundreds of hours.




I missed Miami Open 2019

March 30, 2019

Introduction


It is the last day of final this weekend. I missed the open. I originally tried to put together a vacation for me to visit my rental property in the city of Boca Raton, and then I decided to give up a trip to apply frugality principle.

Cost of planning


I need to book the flight, and car rental. I can spend time in my spare bedroom and do some work for cleaning and repair. I can catch Miami open and enjoy the vacation

A few problems


I need to figure out where to stop in-between, there is no direct flight. And also I need to book a vacation as well.

I need to think about bringing back my clothing and other stuff. I need to apply frugality principle and start to practice this principle as well.

I use flychina.com to check lowest price, and also I need to figure out rental of car, how to use Uber etc.


Why frugality is so important?

March 30, 2019

Introduction 


It is my personal finance research. I like to write a blog related to a topic called why frugality is so important.

Frugality is so important


I did case study on my Citi bank credit card statements from 1999 to 2001. I did not learn the importance of frugality, I tried to spend money to please myself and my mom and my relatives, I spent over $40,000 dollars on Citi bank credit card from 1999 to 2001.

I did not analyze my strategies based on my H1-B visa and its limitation, and I did not understand startup company and also my technical strength.

I also like to figure out that I spent over 20 years to pay off the loan on my home in Boca Raton with a loan around $25,000 us dollars in 1999.

It is true that when I started to work full time as a software programming using OPT or work visa, I did not know how hard it is for the startup company to survive. I did not know that the value those salary I got.  I have to use those income to build up my net asset.


Why buy and hold doesn't work anymore

Here is the link.

Stocks — Part 1: There’s a major market crash coming!!!! and Dr. Lo can’t save you.

Here is the article I choose to read this Saturday. Now it is 1:47 PM, I like to spend next 20 minutes to read the article.


Why 50s is more hard than 40s?

March 30, 2019

Introduction


It is the first blog I like to write about 50s. I heard something not good, something excellent. What I like is to share my struggle, and my learning and my baby step wisdom how to make a better living in Vancouver area.

My situation


I am not in good personal finance situation. I stay as a single working programmer, and I start to live with hay fever second year, and then also sometimes I have to push myself to learn to make decision on data, force myself to discipline myself, live under my means, and also do personal finance analysis.

Meanwhile, I also start to learn to push myself to be a better programmer as well. I stay in the office full time, learn and work with young generation, and also I take some time to bring some good influence, and help business do better and healthy situation.

Frugality is my new norm



Why do I like to learn more personal finance?

March 30, 2019

Introduction


It is not easy to go for personal finance research. Sometimes I know that I need to read more articles, but my brain does not fully run if I learn from videos, books passively.

My situation


I have to face the reality. I have lived a life last 50 years as a single person. I do not have enough challenge job and task to work on. I find out that it is more difficult for me to work with myself in 50s.

I enjoyed the tennis sports in 40s. I enjoyed so many things in Vancouver area. But I did not challenge myself enough to make my work easy. The first 5 years, I did not have time to look into personal finance, investment and all other things.

Now I am in the 9th year on the same job. I know how much time a project will cost me in terms of hours at work, how many things  I should spend time to learn, and how much impact can those work brings out.


JL Collins: "The Simple Path to Wealth" | Talks at Google

Here is the link.


He talked about Vanguard VATEX fund. How many and how often should he recommends to purchase?

He also answered the question what if all of us purchase index fund.

His answer is 25% of market is index fund.

4:04/  57:44
Blog or book?
Blog
There is a brief review.


Step by step guide to buying Vanguard Total Stock Market Index Funds

Here is the link.


Robert Brokamp

Here is the link.

I like to read some articles this morning .


Which Index Fund to Invest in for the Long Term

Here is the link.

Comparison:

Total market index vs US index fund

Small stock 12%, large stock 10%


Vanguard Total Stock Market Index Fund Admiral Shares (VTSAX)

Here is the link.


Hongkong immigration office and letter

March 29, 2019

Introduction

It is the good news from Hong Kong Canada immigration office. The email is related to the medical examination which will expire this May 18, 2019. Can the applicant landed before May 18, 2019?




Friday, March 29, 2019

Learn from a younger coworker

March 29, 2019

Introduction

I like to write a story what I learn from my ex-coworker. Today is her last day. I like to write down a few things I learn from her.


Vanguard's VTSAX Index Fund: Our Number One Investment for Financial Independence Explained

Here is the link.


How to master union find algorithms?

March 29, 2019

Introduction


It is my short research. I like to master the union find algorithm, what I did is to solve as many union find algorithm on Leetcode.com, and also ask the algorithm in the mock interview on interviewing.io.

100 hours work


Today the interviewee worked on the algorithm, and also shared with me his experience. He told me that there are three implementations, check the website algs4.

Top 50 players on weekly contest 112


April 3, 2019
I spent time to study code from weekly contest 112 Leetcode 947 stones removed. I learn a few implementation of union find algorithm. There are size of disjoint set, rank of set, and union API implementation. Here is my practice of Leetcode 947.



685 Redundant connection

March 29, 2019

Introduction


It is a hard level algorithm. I wrote a solution based on code study written in Java, and then I pushed myself to learn the analysis by debugging the code with one of test cases.

Code study


I need to adopt some good hard working habit to work on Leetcode hard level algorithms. I already experienced all things related to code screen, onsite, and all other things. I also learn that I need to work on my personal finance research. It is important for me to adopt frugality and minimalism life style.

I have housing problem to solve, and also I need to push myself hard to stay on track to improve problem solving skills.


Union find algorithm

Here is the link of the algorithm.

I plan to spend time to work on this lecture note, and then write some C# code based on Java code as well.