A step-by-step beginners guide on buying digital art

In this small note, we go through:

  1. What is an NFT?
  2. How to buy and sell one.

Non-Fungible Tokens

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]
x.append([4, 5])
print (x)

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”

Photo by Fotis Fotopoulos on Unsplash

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…

A summary of the top 3 accredited online computer science degrees you can enroll for 2021.

Photo by Vasily Koloda on Unsplash

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:

  1. Georgia Institute of Technology (udacity)
  2. University of Illinois at Urbana Champaign (coursera)
  3. University of Texas at Austin (edx)

These three State Ivy universities have partnered with three different online education providers to masters degrees you can complete from home.

OMSCS @ Georgia Institute of Technology

Quick tutorial in improving your debugging techniques in RStudio

Photo by ThisisEngineering RAEng on Unsplash

The Overall Approach to R Debugging

Here we outline the overall strategy for debugging:

  1. Google the error — often you might find something on stackoverflow that is exactly the same error as you.
  2. Make your error repeatable — isolate your error, so you can repeat it in a contained environment. This is useful in order to get a better understanding of the error, it also makes to easier if you want to post it on stackoverflow later

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

Photo by Yancy Min on Unsplash

What is 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

Photo by Lance Anderson on Unsplash

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:

  1. Creating a new database on disk
  2. Creating a new SQL table
  3. Inserting a Pandas dataframe into the new SQL table
  4. Extracting data from a SQL table back into Pandas dataframe

We will…

A tutorial on how to use the asyncio library in Python

Photo by Sarah Dorweiler on Unsplash

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 async and await syntax. They are in essence awaitable functions.

To run a coroutine, there are three main mechanisms.

1. Use 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.

Photo by Stefan Gall on Unsplash

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.

Installing Python websockets

Installing 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.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store