Technical reading section

Scrum and XP in the smoke (password: u5i9)   Author: Henrik Kniberg   Summary: In this book, author Henrik Kniberg describes how he led a team of 40 people to implement Scrum over a year. They tried different team sizes (3-12 people), sprint lengths (2-6 weeks), and definitions of “complete”Ways, different backlog formats, various test strategies, multiple ways to synchronize across multiple Scrum teams. They’ve also tried XP practices — continuous integration, pair programming, test-driven development, and so on — and tried to combine XP with Scrum. This...

Day 22 full volume update

–Full scale updatecreate table pdata.dbo.customer(name varchar(255) ,type varchar(255) ,type_no varchar(255) ,address varchar(255) ,tel varchar(255) ) insert into pdata.dbo.customer values( ‘ccc ‘, ‘sfz’,’ 1201334′,’ a1 ‘,’ 1′) insert into pdata.dbo.customer values( ‘AAA ‘, ‘sfz’,’ 1301121′,’ a2 ‘,’ 128285 ‘) insert into pdata.dbo.customer values( ‘ddd ‘, ‘sfz’,’ 1201335′,’ a3 ‘,’ 1268910 ‘) in...

10 lines of code to achieve a simple version of Promise

Before we implement it, let’s look at the call of Promise first.   const src = 'https://img-ph-mirror.nosdn.127.net/sLP6rNBbQhy0OXFNYD9XIA==/799107458981776900.jpg?imageView&thumbnail=223x125&quality=100' const promise = new Promise(function (resovle, reject) { var img = document.createElement('img') img.onload = function () { resovle(img) } img.onerror = function () { reject() } img.src = src }) promise.then(function (img) { console.log(img.width) },...

File operation: user login problem

# username = input("please enter your name:")# passport = input("please enter your passport:")# with open("list of info",mode="w", encoding="utf-8" ) as f:# f.write("{}\n{}".format(username,passport))# print("congratulations")lis = []i = 0while i < 3: uname = input("please enter your username:") passwd = input("please enter your password:") with open("list of info", "r", encoding="utf-8") as f: for line in f: lis.append(line) if uname == lis[0].strip() and passwd == lis[1].strip(): print("Login sucessfully") break else: print("wrong"...

C# reflection — attribute

C#Reflection detailed solution     (1)Reflection acquisition attribute First, explain the meaning of some enumeration parameters obtained from the reflection property: BindingFlagsInstance|Public:Get common instance attributes (not static)Instance|NonPublic:Gets non public instance attributes (not static). (private/protect/internal) Static|Public:Get public static attributesStatic|NonPublic:Gets non public static attributes. (private/protect/internal) Instance|Static|Public:Get public instance or static attributesInstance|Static|NonPublic:No public instance or sta...

1134 Vertex Cover

Topic: Give a graph and K queries, each query gives Nv nodes, and ask if the edges associated with these nodes contain all the edges of the whole graph. Ideas: Firstly, because of the large number of nodes, adjacency table is used to store the graph, and unordered_map< int, unordered_map< int, bool> & gt; MP is used to represent the adjacency relationship between two vertices. When you query, read every time.If the number of edges deleted is equal to the total number of edges of the graph, output Yes; otherwise output No. PS. actually needs no additional vector< int> Adj[]...