On the most recent episode of The Investor’s Podcast Mastermind Discussion, one of the big topics of discussion were cash alternatives.
Traditionally, diversifying across investment strategies (growth, value, speculation, emerging markets, hedges, etc…) was accompanied by keeping some cash on hand in case a good investment opportunity arises. While you’re sitting on cash, you could earn some interest from your savings account or invest in short-term CDs to at least try and account for inflation.
However, today, interest rates are at 0% and are not likely to increase anytime soon. …
For lack of a better word, 2020 has been very interesting for financial markets. Volatility hit all-time highs, some fortunes were wiped out, and hundreds of opportunities to make new fortunes arose.
I’ve had a lot of conversations with my friends discussing where we should invest our savings. With investing being more an art than a science, there is never a right answer. People have different interests, varying risk tolerances and different amounts of time they’re willing to devote to market research. A 10-page in-depth review of a special case small cap may be appropriate for one person, while blindly…
tl;dr You can find the source code for a bare-bones dockerized python HTTP server with hot reloading using fastapi on this Github page.
I recently came by this tweet:
While there are many reasons to have separate Docker images for your development and production environments, it may be overkill for a small project you’re just starting. Over the past several years, I’ve been using the volume mounting feature in order to:
When measuring the performance of a prediction model (i.e. a Machine Learning classification algorithm), there are 4 metrics you are likely to measure and reference: Precision, Recall, Accuracy and F-score. A common visual method to interpret these results is via a Confusion Matrix. A lot of great articles have already been written about these topics, so I won’t delve into too many details.
For a binary classification problem, the ground truth data…
You can try out all of the code in this article yourself using this Google Colaboratory notebook.
If you’ve ever tried to debug and optimize your python application, it’s likely that you stumbled upon Python Profiles to understand where most of the execution time is being spent. You enable the profiler at the beginning of a code segment you’re interested in profiling with
pr.enable(), and call
pr.create_stats()at the end.
Afterwards, you can create a Stats object, and print the results in a human readable format with
The output above is quite useful and can take you a long…
One of my favorite features of elixir is being able to start a shell that loads the entire context of my project:
$ iex -S mix
It provides easy access to all of the project's modules so you could easily iterate on your code by compiling it directly from within the shell. You have the option to recompile the whole project or just a single module:
# single module
$ r MyModulesNameSpace.MyModule# whole project
The other great thing about elixir is how easy it is to run unit tests:
# all tests
$ mix test# single…
Note: This is a repost of a blog published in early 2018.
With the advent of blockchain technology there has been a lot of discussion surrounding the monetization of user data. While this idea is great in theory, it took me a while to understand how something like this could be implemented in practice.
Depending on the type of user data at hand, it could be hundreds of megabytes or gigabytes in size. Blockchain is a distributed ledger and should not be thought of as an alternative to cloud storage. Though there are projects such as Sia, Storj and Filecoin…
It’s difficult to objectively quantify Bitcoin’s adoption rate since there are too many factors to consider. Should it be the number of people holding Bitcoin? Bitcoin’s market cap? The number of brokerages with support for Bitcoin futures? The number of businesses accepting it as form of payment? A very different story can be told depending on the angle from which you look at it.
As a potential store of value, Bitcoin’s market cap needs to be sufficiently high for institutions and central banks to take it seriously. Governments must add some regulation around it so it has legitimacy, and a…
One of the major selling points of cryptocurrencies is that everything is decentralized and trust no longer lies in single a third party. However, the trust didn’t simply dissipate, it got distributed to participants of the network. In my opinion, the incentive structure built into cryptoeconomics is one of its most overlooked benefits. The fundamental idea can be summarized as follows: no one wants to lose money, and everyone wants to maximize the profit they receive for the work that they do.
Below are a few different examples of the role that financial incentive plays in various aspects of cryptoeconomics.
— — — — — — — — — -
To provide a fair comparison between Ethereum and Bitcoin I will start by defining the basics, and expand on how each of them can be used without drilling down too deep into the technical details
A transaction is some change of state. This could be the transfer of value from one individual to another, the delivery of a private message…