high-risk!! Kubernetes new container escape vulnerability warning

Author: michelangela young, preacher KubeSphere, cloud native severely infected On January 18, 2022, Linux maintainers and vendors in the legacy of Linux kernel (5.1-rc1 +) file system context function_ parse_ An error was found in the param function Heap Buffer Overflow Vulnerability with ID number CVE-2022-0185 , which is a high-risk vulne ...

Posted by gypmaster on Thu, 03 Mar 2022 05:16:15 +0100

[high frequency interview questions from large factories] explain in detail the implementation of LRU cache (the least used cache recently) - C + + version

1 what is LRU cache LRU (Least Recently Used) algorithm is an elimination strategy. In short, the implementation is as follows: put some elements into a container with fixed capacity for access. Due to the limited capacity of the container, the container should ensure that the elements that have been used recently are always in the contain ...

Posted by lpxxfaintxx on Thu, 03 Mar 2022 04:51:19 +0100

JDK source util package analysis -- HashMap source code

HashMap source code analysis Structure diagram of HashMap Introduction to HashMap principle Array: use a continuous storage unit to store data. For the search of the specified subscript, the time complexity is O(1); To search through a given value, you need to traverse the array and compare the given keywords and array elements one by one. ...

Posted by rubberjohn on Thu, 03 Mar 2022 04:34:01 +0100

Five tips for JSON in JavaScript

Some tips about JavaScript JSON1. FormatThe default stringer also shrinks JSON, which looks uglyconst user = { name: 'John', age: 30, isAdmin: true, friends: ['Bob', 'Jane'], address: { city: 'New York', country: 'USA' } }; console.log(JSON.stringify(user)); //=> {"name":"John","age":30,"isAdmin":true,"friends":["Bob","Ja ...

Posted by troy_mccormick on Thu, 03 Mar 2022 04:22:30 +0100

The interviewer asked: what is your understanding of cookie s?

Foreword: I believe junior front-end engineers will think of local storage and sessionStorage. Then I will answer the difference between the three. Please, these are not the key information that the interviewer wants to get. Cookies belong to the basic knowledge of computer networks. Next, let's unveil the mystery of cookie s from Baidu Encyclo ...

Posted by IndianaRogers on Thu, 03 Mar 2022 04:09:28 +0100

C language of FFmpeg series

1,HelloWorld <!-- Guide Package --> #include <stdio.h> <!-- main Function, argc: Number of parameters entered, argv: String array, each item represents a specific parameter --> int main(int argc, char *argv[]){ // Print printf("Hello World!\n"); return 0; } 2. VIM compile and run C program <!-- Step 1: create a ne ...

Posted by will_1990 on Thu, 03 Mar 2022 03:56:45 +0100

Kubernetes - operator first experience

This chapter refers to the of operator SDK tutorial Write a memcache operator 1 function introduction After the memcache operator is created successfully, you can create a memcache service through the following yaml apiVersion: cache.example.com/v1alpha1 kind: Memcached metadata: name: memcached-sample spec: size: 3 Create memcache ...

Posted by lilwing on Thu, 03 Mar 2022 03:53:16 +0100

Why can't BigDecimal's equals method be used for equivalence comparison

prefaceBigDecimal is Java A type provided in the math package that can be used for precise operations. Therefore, BigDecimal is frequently used in payment, e-commerce and other businesses. Moreover, it has many internal methods, such as addition, subtraction, multiplication, division and other operation methods, which can be called directly. In ...

Posted by KoA on Thu, 03 Mar 2022 03:49:56 +0100

Two ways! Take you to quickly realize the front-end screenshot

Introduction | this paper will introduce two ways of page screenshots in front-end development, including detailed description of its implementation principle and use mode, hoping to provide some experience and help for more front-end developers.1, BackgroundPage screenshots are common in front-end development, especially in the needs related t ...

Posted by piyushsharmajec on Thu, 03 Mar 2022 03:43:50 +0100

Talking about MySQL log files | hand tearing MySQL | online interviewer

Focus on WeChat official account [white letter], enter whitek's knowledge sharing planet. 🌍 preface Last Friday, I interviewed the third side of byte and deeply felt the importance of database knowledge. I also realized that I was weak in my usual study of database. Even after having some internship experience, I still don't have much know ...

Posted by merrittj on Thu, 03 Mar 2022 03:20:50 +0100