Compilation
How to Build the istio Project on CentOS 8
· β˜• 5 min read
This article mainly describes how to build the https://github.com/istio/istio project on CentOS 8.2 using local tools. Another approach is to use the BUILD_WITH_CONTAINER parameter to build inside a container, which depends only on make and docker. 1. Install and Upgrade Ruby >= 2.6 Install Ruby 1 yum install -y ruby Check the Ruby version 1 2 3 ruby -v ruby 2.

Python 2 Source Code Study: Windows Compilation
· β˜• 2 min read
1. Compiler Preparation Prepare the Python source code From the official Python website, download the source code for the Python version you need to compile. The one chosen here is the latest Python 2 release, Python-2.7.14.tar.xz, click here to go there. Prepare a compiler On Windows, the project files built

Python2 Source Code Study: pyc
· β˜• 8 min read
This article uses the Python 2.7.8 source code as an example. 1. Common File Formats in Python py file A Python source code file, which can be modified with a text editor. pyc file The bytecode file generated after Python source code is compiled. pyw file When a pyc file is executed, a console window appears; when a pyw file is executed, it does not.

Introduction to the Django Standard Library
· β˜• 3 min read
Django’s standard library lives in the django.contrib package. Each subpackage is a standalone add-on feature package. These subpackages are generally independent of one another, though some django.contrib subpackages depend on other subpackages. There is no hard requirement on the kinds of functions in django.contrib. Some of these packages ship with models (and therefore require you to install the corresponding database tables), while others consist of standalone middleware and template tags.

Free Open Data Sources
· β˜• 7 min read
1. Economy World Bank Gapminder Economic, health, and social statistics covered by the World Health Organization and the World Bank CIA, The World Factbook Contains information on history, population, economy, government, infrastructure, and military affairs for 267 countries National Bureau of Statistics of China latest macroeconomic data Ministry of Industry and Information Technology A good deal of data is published here, especially data related to industrial operations and informatization