6,168 karma · joined September 30, 2011
std::vector<P> people = { P{"jane", 47}, P{"mary", 71}, P{"john", 65} };
ranges::sort(people, [](auto& x, auto& y){ return x.weight > y.weight; });
Compile this gist with `c++ -std=c++1z -I range-v3/include`:https://gist.github.com/cieplak/dcd587c67d989768900e4110e776...
http://preshing.com/20141202/cpp-has-become-more-pythonic/
I have been using C++ a lot lately but really wish there were more tools for reflection at compile time, e.g., ability to iterate over all the members of a class. Other than that, I'm really loving C++17's auto template parameters and type deduction capabilities, plus code that's 200x faster at runtime than most interpreted languages. I've found autocompletion in CLion to be slightly better than autocompletion PyCharm, but not quite as good as IPython or IntelliJ with Java.
E.g.
uuid v4: de7013fb-658e-40a0-9c02-d23080b57fdb
base58 : tt7Udwi9Tx9VE1ze7HDBxi
Here's a lib I wrote in c++ for doing this, with python and erlang bindings, https://github.com/cieplak/uuidLooks like there's an old patent related to this:
http://www.stephenwolfram.com/publications/academic/cryptogr...
https://en.wikipedia.org/wiki/Unidirectional_network
On a slightly tangent, people with physical access to a server can extract encryption keys from RAM by plugging into a PCI slot:
Looking for exceptional people to join our team building payment systems and financial infrastructure.
Example product docs: http://developers.finixpayments.com
Current stack is a mix of
- java
- erlang/elixir
- c++1z
- postgres
- linux
- freebsd
- aws
We're backed by Homebrew and are Visa's first ever seed-stage investment.email: cGF0cmljaytobkBmaW5peHBheW1lbnRzLmNvbQ==
Currently using dnsmasq but would like to use erl-dns once I finish wrapping it with an HTTP admin API.
https://en.wikipedia.org/wiki/Transistor_count
Ps: should be noted that the embedded GPU in the A11 contributes many transistors.
Edit: s/frequency/period/
If you want to borrow the book, I have a copy in my office in SoMa (2nd and Bryant).