A step-by-step beginners guide on buying digital art
In this small note, we go through:
An NFT is a non-fungible token. This sets them apart from cryptocurrencies, as each token is supposedly unique and different. This makes trading NFTs difficult on a centralized exchange. If Bitcoin is like US dollars, then NFTs are like your baseball cards. NFT is proof of ownership, but is separate to copyright.
OpenSea is one of the largest online exchanges to buy and sell NFTs. In this tutorial, we will go through the process of…
append — Appends object at end.
x = [1, 2, 3]
and gives you: [1, 2, 3, [4, 5]]
extend — Extends list by appending elements…
Why Tron founder Justin Sun’s “meme is the answer” is definitely not the answer
I recently came across this Bloomberg article (link attached below) where Justin Sun, Tron founder, and multi-millionaire that spent 4.6 million dollars to have lunch with Warren Buffet.
Interestingly, Justin Sun cannot possibly be more different to Warren Buffet.
Warren Buffet is all about value investing, picking unloved companies with low Price-to-Earnings ratio that have steady cash flows and cold hard assets. Justin Sun is all about chasing dreams — and apparently investing in memes.
In other words, Buffet is about buy low and sell…
A Review of LinkedIn’s short course titled “ Learning Python with PyCharm”
Recently, I’ve been going through some of the LinkedIn learning courses. There are a lot of courses. The point of this short note is to summarize the course and for the reader to get a gist of the course, and decide for himself/herself whether they want to devote several hours to complete the course.
The objective of this course is to introduce PyCharm as a IDE for beginner Python users. The course goes through all the basics of getting set up, and runs through a small web scraping…
There are three highly regarded “State Ivy” universities that offer a completely online master degrees for students both domestically and internationally. Unlike traditional degrees where costs are differentiated by in-state and out-of-state fees, these online degrees have opened up a new level of affordability for students.
Here we look at three affordable and reputable online masters of computer science degrees from:
These three State Ivy universities have partnered with three different online education providers to masters degrees you can complete from home.
Quick tutorial in improving your debugging techniques in RStudio
Here we outline the overall strategy for debugging:
Often by doing these two steps, you can resolve your error.
In this note we will go through two debugging…
A gentle beginner’s tutorial on how to use Git
Git is distributed version control system. It allows for multiple programmers to work on the same project.
If you intend to work in data science, quantitative analysis, or any role that requires programmers or coders collaborating, you will probably have to cross paths with it. At first Git can be quite intimidating to learn. It can also be quite confusing. This gentle tutorial will hopefully alleviate you from some of these fears.
A short tutorial on using sqlite3 in Python
SQLite is a lightweight database that does not require a separate server. SQLite is very popular in web applications and requires no administration. I use SQLite to store structured data that I scrape from the internet, such as cryptocurrency prices.
In this short note, we will go over the key commands to use SQLite with Python.
We will look at:
A tutorial on how to use the asyncio library in Python
Asyncio is a programming design that achieves concurrency without multi-threading. It is a single-threaded, single-process design. It uses cooperative multitasking, i.e., it gives a sense of concurrency despite using a single thread in a single process.
At the heart of asyncio are coroutines. Coroutines are declared with the
await syntax. They are in essence awaitable functions.
To run a coroutine, there are three main mechanisms.
asyncio.run() This executes the passed coroutine, and once finished, closes the threadpool.
async def printHello():
await asyncio.sleep(1) …
A quick beginner’s tutorial into Python websockets with a Deribit cryptocurrency example.
In this note, we’re going to run through some basics on running Python websockets, along with an example where we use websockets to receive live cryptocurrency data from one the largest Bitcoin futures trading platform Deribit.
Firstly, you need to install websockets.
pip install websockets
Websockets requires Python 3.6.1 or greater. Perhaps you can create a new virtual environment and install websockets into this environment. This way, you don’t mess around with your base environment.
conda create --name myNewEnv python=3.7
conda install -n myNewEnv websockets
writes about economics and programming.