Changing Legacy Code: With Confidence
Practical Advice for Maintaining and Migrating Working Code Changing Legacy Code with Confidence: Brian Ruth (he/him) brian.ruth@garmin.comPart 0: Legacy Code• It works* • It may not working code • Introduce testing • Gradual improvement • Make code self documenting • Instill confidence in changes • Develop for maintenance Goals of this talk *for some definition of "structure"The0 码力 | 114 页 | 982.54 KB | 5 月前3THE GITOPS GUIDE TO BUILDING & MANAGING INTERNAL PLATFORMS
initiatives in place, software delivery teams can release software continuously, and with full confidence in the reliability of the system. THE GITOPS GUIDE TO BUILDING & MANAGING INTERNAL PLATFORMS discovered that they were able to operate their entire stack with only 3 developers. This instilled confidence in the team to move away from traditional architecture, and to rather build consistent end-to-end will be retired. The biggest difference MediaMarktSaturn experienced after Flagger is increased confidence in their deployment results. Stable rollouts at high deployment speed empower the team to now0 码力 | 15 页 | 623.52 KB | 1 年前3Notions of time and progress - CS 591 K1: Data Stream Processing and Analytics Spring 2020
between results confidence and latency: • Eager watermarks ensure low latency but provide lower confidence • Late events might arrive after the watermark • Slow watermarks increase confidence but they0 码力 | 22 页 | 2.22 MB | 1 年前3Scientific Unit Testing
best thing: 1. make statements that can be proven false 2. Try to prove them false ... and fail Confidence tracks the thoroughness of the tests Popper's Falsifiability Criterion: 14If a class exhibits "This code has a bug" Then write the test to observe it If you can't observe it, it's not there Confidence in correctness tracks completeness of the testing 15Empirical science: Scientists want good tests and do good science Hypothesis C : this code is correct Unit tests attempt to show !C Confidence in C tracks thoroughness of tests A.K.A "The Scientific Method" 42Acknowledgements Kris Jusiak0 码力 | 45 页 | 1.91 MB | 5 月前3Django、Vue 和Element UI 前后端原理论述
截图区域的宽度, 截图区域的高度)) # 在 im1 区域内定位 img 图像 grayscale=True 开启灰度识别 confidence=0.7 相似度 匹配阈值。 loc = pyautogui.locate(img, im1, grayscale=True, confidence=0.7) # 点击待操作功能按钮截图中心坐标 x, y = pyautogui.center(loc) setFront(hwnd) 如果应用程序区域正在响应过程,还没有出现待点击功能区域,固定的等待时间可 能出现意外,所以获取函数的返回值 loc = pyautogui.locate(img, im1, grayscale=True, confidence=置信度),该函数在没有匹配到待操作功能区域截图时,将会返回 None,下面 程序是基于函数的返回值 None 判断是否出现某个功能按钮,实现停等程序响应: # 等待 img 出现在程序界面 上角 X 轴坐标, 截图区域左上角 Y 轴坐标,截图区域 的宽度, 截图区域的高度)) loc = pyautogui.locate(img, im1, grayscale=True, confidence= 置信度 ) locx, locy = getLoc(img) if locx != 0 and locy != 0: return True time.sleep(1) return0 码力 | 61 页 | 6.84 MB | 1 年前3hazard pointer synchronous reclamation
for C++26: Minimal useful subset of TS2. • Why minimal? High confidence in proposal. Require less committee time. • Cohorts: • High confidence in usefulness based on Folly experience. • Why not C++26? Maybe0 码力 | 31 页 | 856.38 KB | 5 月前3MITRE Defense Agile Acquisition Guide - Mar 2014
effective program teams understand their roles and responsibilities within an Agile program and have confidence in their ability to perform them. The applicable Agile guidelines for obtaining the necessary comprehensive and competent cost estimation process and methodology gives senior stakeholders the confidence to relax rigorous oversight, and provides the program with valuable cost information to continuously because of poor estimation. As previously noted, it may take a few sprints for the team to achieve confidence and accuracy in its estimates. The problem could also lie in dependencies between stories. If0 码力 | 74 页 | 3.57 MB | 5 月前39 盛泳潘 When Knowledge Graph meet Python
ails/78446431 Example 1: Example 2: N-ary relation extraction Each extraction associates a confidence score Python Tools of Graph Data Management networkx Networkx是一个基于python的复杂网络分析库,内置了常用的图与复杂网络分析算法,可以方便的进行 compatible facts. This is achieved by optimizing for a high degree of coherence between facts with high confidence. A Conceptual Knowledge Graph oriented News Data Fact Filtering Approaches and Implementation0 码力 | 57 页 | 1.98 MB | 1 年前3Lifetime Safety in C++: Past, Present and Future
It can go wrong, warn! Better at pointing out real problems Better at avoiding disaster High-confidence Lifetime Checks in Visual Studio version 17.5 Preview 2 - C++ Team BlogCould the optimist agree investigations at Microsoft • Closing the gap between statement-local lifetime checks • Move high-confidence lifetime warnings out of experimental • Extend lifetimebound support to flow-sensitive checks •0 码力 | 124 页 | 2.03 MB | 5 月前3Back to Basics Unit Testing
Criterion: We cannot generally prove scientific theories true. We can only prove them false. Confidence tracks the quality and thoroughness of testing Program testing can be used to show the presence (threatening to fire someone because they do that stuff doesn't help) The path out of fear is confidence. "I don't know if I'm right" -- test and find out "I don't trust those yokels down the hall" --0 码力 | 109 页 | 4.13 MB | 5 月前3
共 384 条
- 1
- 2
- 3
- 4
- 5
- 6
- 39
相关搜索词
ChangingLegacyCodeWithConfidenceTHEGITOPSGUIDETOBUILDINGMANAGINGINTERNALPLATFORMSNotionsoftimeandprogressCS591K1DataStreamProcessingAnalyticsSpring2020ScientificUnitTestingDjangoVueElementUI前后原理论述hazardpointersynchronousreclamationMITREDefenseAgileAcquisitionGuideMar2014盛泳WhenKnowledgeGraphmeetPythonLifetimeSafetyinC++PastPresentFutureBacktoBasics