123
Subscribe to the podcast feed or download the audio file directly. Links : Best Practices for Unique Identifers Chet : @chethaase Tor : @tornorbye Romain : @rom…
In this episode, Host Jon Skeet takes the reins along with Jay, Jess, Ilana, and special guests Casey Ashenhurst (SO Inclusion Manager & Senior People Ops Partn…
У ніч на 12 листопада росіяни атакували Україну балістичними ракетами "Іскандер-М"/KN-23/С-400, протикорабельними "Цирконами" та 123 безпілотниками. Сили ППО зб…
This week on Perpetual Chess, I would like to spotlight some of the ways that people are using chess as a vehicle to make a difference in the world. I am happy …
Would picking a target for a tennis shot ever lead to actually missing it? Today Ian answers that question and also talks about what factors should go into pick…
Matt’s wife died a decade ago. Now, everywhere he goes on the internet, he can’t escape advertisements for clickbait sites with her picture on it. This week, Su…
之前对 C 语言中宏定义的认知十分简单,包括但不限于停留在以下浅薄的层面: 1 2 # define PI 3.14 # define add(a, b) a + b 上述代码完全是大学课本中的用法。但当我看到实际项目中宏的用法后完全是一头雾水, 所以自己也要写出那种高逼格让别人看不太懂的代码 。宏远远比我想象的要强大…
移动端算法优化是个很庞大的话题。从计算机体系到指令,涉及到非常广而深的东西。本文尝试以常见的算法为例,阐述算法在单线程场景下的加速与优化, 多线程是最后的收尾,没啥可说的 。而至于具体的场景,如金字塔、滤波、降噪等,优化的思路都是相同的:减少 IO,一次 IO 完成尽可能多的计算。 本文会使用 Neon, OpenCL…
C++ 漫游的第一部分,起因源于项目中错误的使用 std::ref 和 std::fowrad 导致了一些神奇的 bug。而 std::ref 又涉及到了引用,左右值引用又会联想到移动语义,std::forward 又常用于模板。所以以此为契机,不如仔细学习一下 C++ 中的新特性。
对于 C++ 中的匿名函数,除了写 auto 外,还可以使用 std::function 作为类型接受匿名函数: 1 2 3 std::function func = []( int x) { std::cerr






