Tag：Xiao Ming

"Log" The number of rows counted by Navicat is actually inconsistent with the actual number of rows in the table
background Recently, in order to ensure the stability of the online database, I decided to backup and migrate the historical data of some large tables in a planned way. However, I found a peculiar phenomenon. The number of rows counted by Navicat is inconsistent with the count statistics of the table itself! ? 0.0 Navicat […]

"Open Source Components" Qinglong Timing Panel Usage Scenario Example
components Let's first introduce our protagonist, which is the component we rely on –Qinglong, which itself is a timed task management panel that supports typescript, javaScript, python3, and shell. (A timed task management panel that supports typescript, javaScript, python3, and shell.), here, we use it to execute js scripts regularly woolen. surroundings Linux system docker […]

AL: 18th birthday (basic computer test questions)
Xiao Ming's 18th birthday is coming, of course he is very happy, but he suddenly thought of a question, is it true that everyone has the same number of days from birth to their 18th birthday? It doesn't seem like it's all that way, so he wants your helpCalculate the total number of days that […]

How to do interface testing? What can Charles, a certified employee, do for you?
In the last article, we felt the beauty of the combination of tcpdump and wireshark. It turned out that tools and tools not only competed, but also cooperated. Do you remember that there is a foreshadowing in the last article, that is, the proxy tool: charles. This article explains charles and takes you to experience […]

AM: Birthday (basic computer test questions)
Xiao Ming was born in a leap year, he wants to know when his birthday can be celebrated, can you tell him?Given a positive integer Y, representing the starting year, and a positive integer N, your task is to tell Xiao Ming which year is the Nth leap year starting from year Y.Note: If Y […]

AS: Letter Probability (Based on ComputerBased Questions)
Xiao Ming has recently been interested in probability problems. One day, Xiaoming and Xiaohong played a probability game together. First, Xiaoming gave a letter and a word, and then Xiaohong calculated the probability of the letter appearing in the word. The letters are not case sensitive.For example, given that the letter is a and the […]

AT: nasty decimal point (basic computer test questions)
Xiao Ming has always hated decimal points. Whenever he sees a decimal point, he gets a headache. Unfortunately, Xiaohong gave him a question and asked him:Given a decimal x, can you figure out what is the nth place after the decimal point? (1<=n<=6)When Xiao Ming saw this question, he instantly had a headache and fainted. […]

AU: Dinner (basic computerbased test questions)
Xiaoming invited his good friends to come for dinner, but there were not enough tableware in the kitchen, so Xiaoming went to the warehouse to find new tableware. The things in the warehouse are packed in boxes, and the boxes are written on the boxes. Now Xiaoming wants to ask you to help find the […]

Map
1. Map Map is an unordered keyvalue based data structure. Map in GO language is a reference type and must be initialized with Make before it can be used. 1.1.1 map definition The definition syntax of map in GO language is as follows map[KeyType]ValueType in, KeyType: Indicates the type of key. ValueType: Indicates the type […]

AY: Deciphering Mail (Basic ComputerBased Questions)
Xiao Ming received a very strange email, which was full of symbols and numbers, but the deciphering method was given on the letter. The specific method is as follows:(1) Change 1 to 'A', 2 to 'B', …, 26 to 'Z';(2) Change '#' into a space;(3) Ignore the '', the '' in the original letter is […]

[recursive topics] be: tiling, bf: statistical scheme, bg: Xiaoming’s pig raising story, bh: Xiaoming’s troubles
In this part, I feel like finding a law. Finding the expression of mathematical law is very easy to complete this kind of problem, so don’t rush to write code when encountering recursion, find the law first! One piece is 2 in sizeThe wall of n now needs to be covered with 2 kinds of […]

Use of four parameters in Python functions
1. Required parameters: The parameters must be passed into the function in the correct order, and the number of calls must be the same as that at the time of declaration def f(name,age): print(‘I am %s,I am %d’%(name,age)) f(‘alex’,18) f(‘alvin’,16) Output: I am alex,I am 18 I am alvin,I am 16 2 keyword parameters: Keyword […]