⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,
| class Spiderman { | |
| lookOut() { | |
| alert('My Spider-Sense is tingling.'); | |
| } | |
| } | |
| let miles = new Spiderman(); | |
| miles.lookOut(); |
| namespace NetworkUtilitiesTest | |
| { | |
| using AaronLuna.Common.Network; | |
| using AaronLuna.Common.Extensions; | |
| using System.Threading.Tasks; | |
| class Program | |
| { | |
| // async Main is a C# 7.1 feature, change your project settings to the | |
| // new version if this is flagged as an error |
For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft
Many different applications claim to support regular expressions. But what does that even mean?
Well there are lots of different regular expression engines, and they all have different feature sets and different time-space efficiencies.
The information here is just copied from: http://regular-expressions.mobi/refflavors.html
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
| Y组合子是Lambda演算的一部分,也是函数式编程的理论基础。 | |
| 它是一种方法/技巧,在没有赋值语句的前提下定义递归的匿名函数。 | |
| 即仅仅通过Lambda表达式这个最基本的“原子”实现循环/迭代。 | |
| 颇有道生一、一生二、二生三、三生万物的感觉。 | |
| 虽然Y组合子在理论上很优美,但在实际开发中并不会真的用到。 | |
| 想要了解Y组合子是什么,请参见维基百科:http://en.wikipedia.org/wiki/Fixed-point_combinator#Y_combinator | |
| 或者知乎上的回答:http://www.zhihu.com/question/20115649 |