Using the Kubernetes Gateway API in traifik

Gateway API (formerly called Service API) is an open source project managed by SIG-NETWORK community. The project address is: https://gateway-api.sigs.k8s.io/ . The main reason is that the Ingress resource object can not meet the network requirements well. In many scenarios, the Ingress controller needs to define annotations or crd to expand i ...

Added by BLeez on Sat, 12 Feb 2022 02:30:17 +0200

Leetcode backtracking typical questions

LC031. Next Permutation 1, Title An arrangement of an integer array is to arrange all its members in sequence or linear order. For example, arr = [1,2,3], the following can be regarded as the arrangement of arr: [1,2,3], [1,3,2], [3,1,2], [2,3,1]. The next permutation of an array of integers refers to the next lexicographically ordered pe ...

Added by tecktalkcm0391 on Sat, 12 Feb 2022 02:26:06 +0200

Chapter 9 constructor of JavaSE topic

1. Constructor overview (1) Introduction to constructor Constructor: it is a special method of class to complete the initialization of new objects; //Constructor definition method [Modifier ] Method name(parameter list ){ Method body; } (2) Constructor considerations ① The modifier of the constructor can be default or public, protecte ...

Added by corporateboy on Sat, 12 Feb 2022 02:23:20 +0200

Simple implementation of lazy loading of component data

VueUse component data lazy loading 1. Understanding Objective of this section: to understand what component data lazy loading means from a practical point of view Think about two questions Where are our general data requests initiated?What are the characteristics of life cycle hook function? At present, ajax requests in each componen ...

Added by idealbrain on Sat, 12 Feb 2022 02:22:12 +0200

linux ZONE of those things

Undertaking ZONE of linux Kernel Things , the physical memory of a node is managed by dividing it into zone s as needed, and each node is managed by pg_data_t Manage (refer to if you want to know) SPARSE(3) of the physical memory model for those things in the linux kernel For NUMA systems: Each node has its own local memory, so it has its ow ...

Added by yusiyuseff on Sat, 12 Feb 2022 02:21:42 +0200

[Algorithms] Calculate Bob Dylan's lyrics using hash table partitioning

1. Overview Bob Dylan is a great American poet and songwriter. His creative works contribute a lot to American culture and even to the culture of the whole world. This paper uses NLTK to extract nouns from Bob Dylan's lyrics, stores his lyrics in a hash table for word segmentation statistics, and visualizes the lyrics with high frequency using ...

Added by zimick on Sat, 12 Feb 2022 02:12:22 +0200

[mysql] bitwise operator

1. Bitwise operator Bitwise operators are operators that evaluate on binary numbers. The bit operator first converts the operand into a binary number, then performs a bit operation, and finally changes the calculation result from binary to decimal. MySQL supports the following bitwise operators: 1.1 bitwise and operators The bitwise ...

Added by gszauer on Sat, 12 Feb 2022 02:07:02 +0200

pytorch learning record III

1. Neural network: build small actual combat and use Sequential Take CIFAR10 model as an example import torch import torchvision from tensorboardX import SummaryWriter from torch import nn from torch.nn import ReLU, Sigmoid, Linear, Conv2d, MaxPool2d, Flatten from torch.utils.data import DataLoader class test_cifar(nn.Module): def _ ...

Added by jmcall10 on Sat, 12 Feb 2022 02:04:20 +0200

Real high-level usage of vim (visual mode, last line mode, edit mode)

Real high-level usage of vim (visual mode, last line mode, edit mode) As a powerful, reliable and efficient text editor, vim is deeply loved by users who use Linux system. It is no exaggeration to say that they will not use vim text editor. Even if sed, awk and grep swordsmen use it again 6, they are helpless in the face of massive text conten ...

Added by nonso on Sat, 12 Feb 2022 01:58:38 +0200

Fundamentals of Python - object oriented programming

python completely adopts the idea of object-oriented. It is a real object-oriented programming language and supports the basic operations of object-oriented, such as inheritance, polymorphism and encapsulation. Everything in python is an object. python supports many programming paradigms, such as object-oriented, process oriented, functional pr ...

Added by 2paulm on Sat, 12 Feb 2022 01:55:55 +0200