BOBOBK

Using folium to Draw a COVID-19 Pandemic Map

TECHNOLOGY
Using folium to Draw a COVID-19 Pandemic Map

After being contained in China, the COVID-19 pandemic became increasingly severe worldwide. Countries and regions publish daily new infection and death data to help fight the pandemic globally.

Mounting Oracle Object Storage using s3fs-fuse

TECHNOLOGY
Mounting Oracle Object Storage using s3fs-fuse

My previous article, "Getting Free Oracle Cloud Servers and Automating Deployment with Scripts," explained how to use the CLI to acquire free Oracle machines. Oracle's free tier offers a total of 100GB of disk space, but you can also mount an additional 20GB of object storage as a local file system. This is especially convenient for data migration, as the data can be easily mounted to another instance. This article will show you how to enable free Oracle Object Storage and mount it as a local drive on a Linux system.

Efficient Ways to Check If a List or Tuple Is Empty in Python

TECHNOLOGY
Efficient Ways to Check If a List or Tuple Is Empty in Python

In Python, to check whether an array or tuple is empty, there are three methods: comparing with an empty list, checking the length, and using an if statement.

Deploying a Flask Docker App Using Okteto’s Free Container

TECHNOLOGY
Deploying a Flask Docker App Using Okteto’s Free Container

I just saw a post on the forum about Okteto's free containers, and since I hadn't registered before, I decided to deploy my site's Flask app using Okteto's free container. Okteto's free Kubernetes plan offers generous resources: 4-core CPU, 8GB RAM, 10GB SSD — basically a great VPS for free. Here's how to deploy using Okteto.

Google Advertisement

Detailed Explanation of Confusion Matrix in Machine Learning

TECHNOLOGY
Detailed Explanation of Confusion Matrix in Machine Learning

In machine learning, after collecting, cleaning data, and designing preprocessing algorithms, how do we know the effectiveness of the algorithm? How to evaluate if the predictive model can classify effectively and how accurate the classification is? This involves the confusion matrix, which is widely used to evaluate classification problems in machine learning.

Compiling Custom LEDE Firmware for K2 Router Using GitHub Actions

TECHNOLOGY
Compiling Custom LEDE Firmware for K2 Router Using GitHub Actions

I’ve been using LEDE OpenWRT firmware as my router’s firmware. Due to version updates, some software is missing in older versions, so I decided to compile a custom firmware containing only the needed software for my Phicomm K2 router.

FREENOM Free Domains Can No Longer Be Successfully Registered

MISCELLANEOUS
FREENOM Free Domains Can No Longer Be Successfully Registered

Since the original domain registered on freenom expired and could no longer be used, I chose to go back to freenom to register a new domain for fun, but found that due to technical issues, the registration kept failing, and the domains below would be canceled.

Use Python to set image background color to transparent

TECHNOLOGY
Use Python to set image background color to transparent

Since the original logo has a white background, and we need to change the white background to transparent, here we use the versatile Python tool for image conversion, specifically the pillow package’s Image.

Google Advertisement

Application of Python Implementation of Gradient Descent in Practice

TECHNOLOGY
Application of Python Implementation of Gradient Descent in Practice

Gradient descent is a first-order optimization algorithm, commonly called the steepest descent method. To find a local minimum of a function using gradient descent, one must iteratively move from the current point in the opposite direction of the gradient (or approximate gradient) by a specified step size.

Mining Monero on MinerGate Pool Using CPUMiner-Multi on CentOS7

TECHNOLOGY
Mining Monero on MinerGate Pool Using CPUMiner-Multi on CentOS7

Too many idle servers collecting dust. Here is an option to make use of idle VPS. Today I will teach you how to use CPUMiner-Multi on CentOS for mining and earn some cryptocurrency. Monero is currently the most profitable cryptocurrency, so we choose Monero.

git push update rejected because the remote repository contains commits not present locally

TECHNOLOGY
git push update rejected because the remote repository contains commits not present locally

After improving a Hugo theme used by this blog, an error occurred when pushing to the git repository.

Decision Trees in Machine Learning and Python Examples

TECHNOLOGY
Decision Trees in Machine Learning and Python Examples

A tree in real life has many branches and leaves. In fact, the concept of trees is widely used in machine learning, covering classification and regression. In decision analysis, decision trees are used to visually represent and make decisions. As the name implies, a decision tree is a tree-shaped decision model.