There are quite a lot of simple snippets built in basic packages or by stackoverflow experts. It provides a great deal of inspiration to hands-on work. second largest value searching. Introducing two values m1, and m2 to let the two recycle through and always return the less value. And then a simple modification of initial … Continue reading Simple And Clever Python Functions
Author: Naixian Zhang
BlockChain Companies
Cryptocurrency craze led by Bitcoin speculation has been ceding the glamour since it hit the peak at the end of last year, now plunging to less than one-third of the price then. However, the technology- BlockChain - underlying Bitcoin or cryptocurrency phenomena has its valid and viable root, therefore has been taken wide interest by … Continue reading BlockChain Companies
Surprising Python Behaviors
This blog is a learning diary from satwikkansal/wtfpython:https://github.com/satwikkansal/wtfpython CPython optimization (called string interning) tries to use existing immutable objects in some cases rather than creating a new object every time. The decision of when to implicitly intern a string is implementation dependent. There are some facts that can be used to guess if a string will be … Continue reading Surprising Python Behaviors
Two Levels Of Language Grasping
The lower level is to be able to read novels, newspapers without much difficulty. Even when there are quite a few sophisticated words, any college graduates usually have no problem to read and understand. However, if you ask the reader to repeat or re-write the piece of content, they found it hard or time-consuming to … Continue reading Two Levels Of Language Grasping
Mobility ETFs – XKST
The SPDR Kensho Smart Mobility ETF (XKST) was launched to the market at the end of last year/2017, "it focuses on smart transportation firms, which the index provider fines as those companies advancing products or services in the following areas: autonomous vehicle technology, drone transportation technology, and advanced transportation tracking and transport optimization systems. Each … Continue reading Mobility ETFs – XKST
Law Of Rent/Ricardo
Law of Rent was formulated by David Ricardo back in 1809, however, the application of this law is more profound and ubiquitous nowadays. What this law means is that "The rent of land, therefore, considered as the price paid for the use of the land, is naturally a monopoly price. It is not at all … Continue reading Law Of Rent/Ricardo
Simulation of Simple Gambling and Kelly’s Criterion
Many people would dream to go to Las Vegas, or buying lotteries, thinking one day, their life can be changed entirely by gambling. Is it true? What're the chances they can pull it off? A simple simulation of flipping coins in Python gives good answer without risking real money. Assuming there are 10 people all … Continue reading Simulation of Simple Gambling and Kelly’s Criterion
Key To Success Is To Find A Secret, And Then Capitalize On It
"The key to success is to find a secret" - when I read this pithy point of view, I resonate whole-heartedly. It's not the prosaic admonition we heard along growing up that you have to be hard - working, be persistent, be disciplined etc. to achieve success. No, the actual secret is to find a … Continue reading Key To Success Is To Find A Secret, And Then Capitalize On It
Views From David Einhorn, Nassim Taleb, And Jim Rogers Regarding Quantitative Easing Are Opposed to Ray Dalio and Warren Buffet
The 2007-2011 unprecedented financial crisis finally has been gone for ten years now - a fair amount of time for us to make some wise judgment in terms of who was right who was wrong. Mentioning "beautiful deleveraging" numerous times in his new book - The Great Debt Crisis-, Ray Dalio clearly demonstrated his view … Continue reading Views From David Einhorn, Nassim Taleb, And Jim Rogers Regarding Quantitative Easing Are Opposed to Ray Dalio and Warren Buffet
How The Economic Machine Works – Learn from Ray Dalio_Archetypal Template
This blog is to reiterate the key message from Ray Dalio's new book A Template For Understanding Big Debt Crisis. The causal - effect is that "lending naturally creates self-reinforcing upward movements that eventually reverse to create self-reinforcing downward movements that must reverse in turn." "Managing debt crises is all about spreading out the pain of the … Continue reading How The Economic Machine Works – Learn from Ray Dalio_Archetypal Template