Google C++ Style Guidethe appropriate templating libraries to handle issues like internationalization, localization, and security hardening. If you do use streams, avoid the stateful parts of the streams API (other than error names, particu- larly when the type is clear from context (calls to find, begin, or end for instance). • (Allowed) When the type is clear from local context (in the same expres- sion or within a few lines) doesn’t have, and shouldn’t need. The stakes here are high because low-quality hash functions can be security vulnerabilities, due to the emergence of hash flooding attacks. Even for experts, std::hash specializations0 码力 | 83 页 | 238.71 KB | 1 年前3
Google Python Style Guideas false when in a boolean context. A quick “rule of thumb” is that all “empty” values are considered false so 0, None, [], {}, '' all evaluate as false in a boolean context. Pros: Conditions using Python to None was set to some other value. The other value might be a value that’s false in a boolean context! • Never compare a boolean variable to False using ==. Use if not x: instead. If you need to distinguish caps, followed by the name, e-mail address, or other identifier of the person who can best provide context about the problem referenced by the TODO, in parentheses. A colon is optional. A comment explaining0 码力 | 30 页 | 94.81 KB | 1 年前3
02 Scientific Reading and Writing - Introduction to Scientific Writing WS2021/22edu/archive/scigen Generates random CS research papers, incl graphs and figures Uses hand-written context-free grammar Test for low-submission standards of conferences Two Examples [Jeremy Stribling and Subsections Abstract (see 01 Structure of Scientific Papers) Introduction context, problem, contributions Background / Preliminaries necessary background for understanding SIGMOD 2021 must present substantial novel research not described in any prior publication. In this context, a prior publication is (a) a paper of five pages or more presented, or accepted for presentation0 码力 | 26 页 | 613.57 KB | 1 年前3
01 Structure of Scientific Papers - Introduction to Scientific Writing WS2021/22Introduction and Overview Matthias Boehm, Graz University of Technology, WS 2020/21 Introduction Context (1 paragraph) Problems (1-3 paragraphs) [Existing Work (1 paragraph)] [Idea (1 paragraph)] a “Related Work”-Section Not a mandatory task or to show you know the field Put you work in context of related areas (~ 1 paragraph each) Discuss closely related work Crisp separation from existing 2021 #13.2 Mohammad Mahdavi, Ziawasch Abedjan: Baran: Effective Error Correction via a Unified Context Representation and Transfer Learning. PVLDB 13(11) 2020 #13.3 Md Mahdavi et al: Raha: A Configuration-Free0 码力 | 36 页 | 1.12 MB | 1 年前3
03 Experiments, Reproducibility, and Projects - Introduction to Scientific Writing WS2021/22stats for './run.sh': 12721364.53 msec task-clock # 83.640 CPUs utilized 463352 context-switches # 0.036 K/sec 5455536095415 instructions # 0.14 insn per cycle0 码力 | 31 页 | 1.38 MB | 1 年前3
共 5 条
- 1













