字节星球

Docker Desktop changes default storage path

Original link: https://www.bytecho.net/archives/2324.html Preface Recently I have started a lot of projects, mostly deployed with Docker, so I installed Docker on my computer before. However, after installing Docker Desktop on Windows, Docker saves the image to C:\Users\<用户>\AppData\Local\Docker\wsl\data\ by default. Under the ext4.vhdx file in C:\Users\<用户>\AppData\Local\Docker\wsl\data\ path, it is a waste to put these irrelevant files […]

Docker Desktop changes default storage path Read More »

Workflow System Description

Original link: https://www.bytecho.net/archives/2316.html foreword A long time ago, I wanted to automate some operations of the website, and today I finally realized it. Without further ado, let me introduce it directly. The workflow system of this site is based on the secondary development of Ferry, using Gin+ElementUI (Vue) front-end separation technology, an open-source work order

Workflow System Description Read More »

Recent Notes

Original link: https://www.bytecho.net/archives/2281.html In the hot summer, I can only stay at home every day, without any fresh and cool air that can make people feel refreshed, making me feel groggy all day! The desktop at home is already an old man, and I can only say that the last breath is left. After being

Recent Notes Read More »

Byte Planet has moved!

Original link: https://www.bytecho.net/archives/2274.html news The business of Byte Planet/Feichai Home has been migrated to the new server, bid farewell to 106.54.176.177, and fully use docker deployment~ Businesses migrated this time: main site, BLOG (not yet in use) level 2, API level 2, CODE (FLARUM) level 2. New services: OnlineJudge (ACM online judgment service), service status

Byte Planet has moved! Read More »

How to register ChatGPT smoothly now?

Original link: https://www.bytecho.net/archives/2257.html ChatGPT Welcome to ChatGPT, here is an AI smart assistant that can help you answer various questions. In fact, this has been popular for a while, and now a paid ChatGPT Plus USD $20/m is also launched. As the saying goes, everything that has something to do with Internet celebrities has something

How to register ChatGPT smoothly now? Read More »

Python Notes Chapter 3

Original link: https://www.bytecho.net/archives/2084.html for loop statement for i in range(5): #[1,5) print(i) for i in range(-10,-100,-30): #步长-30 print(i) # >> -10 -40 -70(每个数单独一行) for i in range(0) print(i) #>> 无输出 for i in range(2,2) print(i) #>> 无输出 (Note : , there are four spaces before print) for loop iterates over the list spelling one a

Python Notes Chapter 3 Read More »

MagicLitePlanet open beta!

Original link: https://www.bytecho.net/archives/2105.html ?MagicLitePlanet – Collaboration system for small groups English Readme The functions of communication, work, activity, analysis, management, approval, etc. are all integrated in the simple and lightweight Magic<Lite>Planet . Platform: Windows x64 Development environment: Visual Studio 2022 Database: MySQL Language: C++11 Framework: Qt5.14 Development progress completed: register log in Attendance System Personal

MagicLitePlanet open beta! Read More »

Hill sort

Original link: https://www.bytecho.net/archives/2087.html Recently, I have been studying data structures in a comprehensive way, and the commonly used algorithm records: Hill sorting. The basic idea is to select an increment $d<n$, group elements by this increment (all elements that are separated by $d$ are a group), and then Insertion sorting is performed in each subsequence,

Hill sort Read More »

Python Notes Chapter 2

Original link: https://www.bytecho.net/archives/2058.html arithmetic operation / + – * (results are all decimals,) % (remainder) // (for quotient, round down) ** (exponentiation) Arithmetic expressions with decimals, the result is a decimal (unless other conversions are made) Arithmetic precedence ** * / // % + – (multi-use () can replace priority) Simultaneous assignment of arithmetic operations

Python Notes Chapter 2 Read More »

quick sort

Original link: https://www.bytecho.net/archives/2075.html Recently, I have been studying data structures in an all-round way, and commonly used algorithms are recorded: Quick sort, a kind of exchange sort, is an improvement on bubble sort and an unstable sort. Average time complexity: $O(nlogn)$ Worst time complexity (degenerate to bubble sort): $O(n^2)$ #include <iostream> using namespace std; //快速排序void

quick sort Read More »

Python Notes Chapter 1

Original link: https://www.bytecho.net/archives/2033.html symbol All in English (unless the output is Chinese characters) Notes (for easy understanding) single line comment # multi-line comment Ctrl + / (Add or uncomment the selected multi-line text) variable (stores data) Naming: It consists of uppercase and lowercase letters, numbers and underscores. There cannot be spaces in between, and the

Python Notes Chapter 1 Read More »

Markdown Notes #2

Original link: https://www.bytecho.net/archives/2055.html code Code function or fragment introduce: Small code functions are wrapped in two ` (one around each) Code snippets are wrapped in six ` (three around each) Syntax format: `printf()`函数 Display format: printf() function (operation failed: the symbol below ESC, pay attention to the half-width) Code block (enclose the beginning and end

Markdown Notes #2 Read More »

Web uses a compression scheme for HarmonyOS fonts

Original link: https://www.bytecho.net/archives/2042.html HarmonyOS font https://developer.harmonyos.com/cn/docs/design/font-0000001157868583 By studying the user’s reading feedback on multi-terminal devices in different scenarios, we comprehensively consider factors such as the size and usage scenarios of different devices, and also consider the differences in font size and font weight caused by differences in viewing distance and viewing angle when users use

Web uses a compression scheme for HarmonyOS fonts Read More »