Weekly Review 2017 Week 12
My fifth weekly review.
- Green threads without per-thread stack and heap allocations that compile down to state machines.
- C++ template programming is very much like programming in Lisp (modulo parenthesis).
- Use your Control as Escape.
- JSON Schemas.
- Managing for people who hate to manage.
- Rust: The ? operator. Just a shorter version of
- rfcs/0000-remove-runtime.md at remove-runtime
Tokio is a platform for writing fast networking code with Rust. It’s awesome: green threads without per-thread stack and heap allocations that compile down to state machines.
I won’t quote the table of contents, so just start here:
Most fascinating parts are:
Modern C++ and Lisp Programming Style. How C++ template programming is similar to programming in Lisp. (Also, Lisp optimization settings changed my mind about Lisps performance.)
alols/xcape: Linux utility to configure modifier keys to act as other keys when pressed and released on their own. Make your Control key another Escape. (Have you already swapped Control with Caps Lock?)
dabbrev - How to make Company mode be case-sensitive on plain Text?. Fix case for autocompletion in comments:
(setq company-dabbrev-downcase nil).
The eigenvector of “Why we moved from language X to language Y”. Some fun analytics. Though, I don’t trust it as it does not take into account that people may not change the language. Also, there is no correction on number of users of languages.
Understanding JSON Schema. A quick guide into JSON Schema. Useful if you need to write one.
Java и Docker: это должен знать каждый. The main point is that
-mdocker’s option only limits the maximum allowed memory for an application (the application still able to check all available memory on the machine). That causes troubles when an application allocates memory as a percent of all available memory.
I have bought a couple of management books and started reading Managing for People Who Hate Managing by Devora Zack. Half of the book is already behind, and it was extremely funny and enjoyable to read.