The Roles of Symmetry And Orthogonality In Design
(automatic) data objects • Is symmetry to define state based on control-flow (static lexical scoping) • Edge cases managed by the C++ Standard (Guaranteed!) “The compiler giveth, and the compiler taketh away”Charley (automatic) data objects • Is symmetry to define state based on control-flow (static lexical scoping) • Edge cases managed by the C++ Standard (Guaranteed!) “The compiler giveth, and the compiler taketh away” data objects • Is symmetry to define state independent of control-flow (static lexical scoping) • Edge cases managed by the developer “The developer giveth, and the developer better clean up after0 码力 | 151 页 | 3.20 MB | 5 月前3generic graph libraries
accumulation: *。 Any kind of data (int, float, string) *。 Any kind of sequence (array, list, file, network) *。,Any operation (add, multiply concatenate) 。 Instantiates to efficient, concrete implementations in graph algorithms 。 Given avertex岂find allthe neighbors of (all verticesv st. (WUV) E 古, ie st.edge (uv) is in the graph) 。Then foreach neighbor find its neighbors (and so on) G = {有了 7 = {0,Vdd,n0 (implicitly) Principle: Graphs Represent Strd Algorithms 四 Structure, not data Jndex 7 Edge List Index Adjacency List 工 3 2 0 0 |于1 5 工 2 工 3 0 | 5 3 50 码力 | 76 页 | 6.59 MB | 5 月前3Embracing an Adversarial Mindset for Cpp Security
Vulnerabilities: Up to $250,000 5. Windows Defender Application Guard (WDAG): Up to $30,000 6. Microsoft Edge and Internet Explorer: Up to $30,000 7. Office 365: Up to $30,000 8. Identity and Authentication: untrusted component to a trusted componentDefining Trust Boundaries Downloads from the internet Network interfaces (ports and drivers) Inter-process Communication (COM, RPC, Pipes, Shared Memory) com/microsoft/Att ackSurfaceAnalyzer Isolate problematic areas • Handling untrustworthy data • IPC, Parsing, Network connectionsApp Scenario UI App [Medium IL] Service [High IL] Cloud AI OCR ProcessingApp Scenario0 码力 | 92 页 | 3.67 MB | 5 月前3Boosting Software Efficiency
during network issues. 16 None of the errors were seen in the lab.THE PROBLEMS ⊡ Memory issues – we didn’t have enough memory. ⊡ Unexplained crashes. ⊡ Occasional data loss during network issues during network issues. 18 None of the errors were seen in the lab.THE PROBLEMS ⊡ Memory issues – we didn’t have enough memory. ⊡ Unexplained crashes. ⊡ Occasional data loss during network issues 65 ⊡ Unexplained crashes. ⊡ Not enough information after crash. ⊡ Occasional data loss during network issues. ⊡ Suddenly, no meters are being detected anymore. Problems:REPRODUCE THE ERROR Unexplained0 码力 | 180 页 | 1.65 MB | 5 月前3micrograd++: A 500 line C++ Machine Learning Library
have access to GPU. To bridge that gap, micrograd++ let’s any user train a neural network in C++ and ship that to any edge device. II. RELEVANCE The development of micrograd++ is driven by the need for The library includes classes for defining layers and neurons, enabling users to construct complex network architec- tures. • Backpropagation: The implementation of backpropa- gation in micrograd++ allows single layer in a neural network, composed of multiple neurons. It supports forward propagation and gradient computation, facilitating the construction and training of complex network architectures. MLP Class:0 码力 | 3 页 | 1.73 MB | 5 月前3Common Package Specification: Getting Build Tools to Talk to Each Other
16What brings this implementation experience? - What is important and what not. Dos and donts. - Edge and corner cases to cover - Both open-source and closed-source experience - Both lessons learned } }, } 41 openssl.cpsWhat is a component? 42 "network": { … "requires": ["openssl::ssl"] } "mygame": { … "requires": ["network", "engine"] } "engine": { … "requires": ["openssl::crypto"] "requires": ["zlib::zlib"], } network.cps engine.cps openssl.cps ✔What is a component? 43 "network": { … "requires": ["zlib::static"] } "mygame": { … "requires": ["network", "engine"] } "static":0 码力 | 94 页 | 1.58 MB | 5 月前3Scientific Unit Testing
question is explicitly supposed to interact with the environment 29Option 2: Subtraction Measure network latency Y Cue test framework to allow X + Y seconds Adapt test parameters to current test conditions match reality True - Correct (by inspection), depends on valid interfaces and behaviors Complete (edge cases, preconditions, postconditions, error cases) Correct definition of correct result. Resilient0 码力 | 45 页 | 1.91 MB | 5 月前3Adventures in SIMD Thinking (Part 1 of 2)
2020 - Adventures in SIMD ThinkingCopyright © 2020 Bob Steagall K E W B C O M P U T I N G Sorting Network for Two Lanes of Eight 39 CppCon 2020 - Adventures in SIMD Thinking Graphic By Bitonic at English wikimedia.org/w/index.php?curid=21961917Copyright © 2020 Bob Steagall K E W B C O M P U T I N G Sorting Network for Two Lanes of Eight 40 CppCon 2020 - Adventures in SIMD Thinking Graphic By Bitonic at English seven integers, and they are sorted, the median is a[3] • Median filters are good at • Preserving edge features in a signal • Eliminating outliers without blur • Preserving large discontinuities • De-noising0 码力 | 88 页 | 824.07 KB | 5 月前3Exceptions Under the Spotlight
THE SPOTLIGHT INBAL LEVIWHO AM I? • AC++ enthusiast. • An embedded software engineer at Solar Edge working on smart home. • One of the organizers of CoreCpp conference and user group. • A Member Environment 52.1% 14.6% 14.5% 11.6% 7.4% 7% 0.5% 0 20 40 60 Engineering (Communication, Network, RT, Embedded, etc.) Hardware / IoT AI (Artificial Intelligence) / ML (Machine learning) / BI0 码力 | 53 页 | 2.82 MB | 5 月前3Compile-Time Validation
usage • Cloud or servers electricity consumptionOther Validations • Business logic • Error handling • Edge cases • Communication with other devicesStatic Vs Runtime Static: Examines code without running it displaying error messages, including printing to a console, writing to a file, or transmitting over a network. void foo(){ auto error = detect_error(); if (error) { report_error(error); } }Runtime0 码力 | 137 页 | 1.70 MB | 5 月前3
共 148 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15
相关搜索词
TheRolesofSymmetryAndOrthogonalityInDesigngenericgraphlibrariesEmbracinganAdversarialMindsetforCppSecurityBoostingSoftwareEfficiencymicrograd++500lineC++MachineLearningLibraryCommonPackageSpecificationGettingBuildToolstoTalkEachOtherScientificUnitTestingAdventuresinSIMDThinkingPartExceptionsUndertheSpotlightCompileTimeValidation