Is Python call-by-value or call-by-reference? Neither.

There is one tricky but very popular problem I often encounter. How do you deal with value assignment in Python, for variable, list and tuple? In fact, this question has been answered by many people and I want to brief my thinking and list the reference. In Python (and other languages), a variable (and object … Continue reading Is Python call-by-value or call-by-reference? Neither.

Market Recap 2/15/2019

China: US-China tase talks appear to have ended on a hopeful note according to press reports this morning and the negotiation set to continue next week in Washington Negotiations have discussed the possibility of removing Washington’a 10% tariffs on $200b worth if Chinese import (while leaving in place the 25% tariff on $50 billion worth … Continue reading Market Recap 2/15/2019

How Economics Machine Work

Ray Dalio, the founder of Bridgewater Associate, recently published a report and video to outline his understanding of economics machine and his approach to tackling econ prediction. I will take this chance to do a deep deep digest in his econ philosophy and generate my own understanding as well. 1. Economics Machine – Video How … Continue reading How Economics Machine Work

Market Recap 1/30/2019

FOMC meeting Overall tone around growth remain optimistic Powell signals the fed is on pause until around summer China US talk 1/30 -1/31, senior Chinese official are set to meeting their American counterparts in Washington Tim Cook says tension between US and China were easing China, many provinces are cutting their 2019 growth target Base … Continue reading Market Recap 1/30/2019