while (n–->42) { std::cout << n; }

link

Those iterables are more powerful than you can possibly imagine. https://medium.com/@mr_rigden/a-guide-to-python-itertools-82e5a306cdf8

Czytaj dalej

even with such a small amount of code things may get incredibly complicated. I’m not saying we all should be experts in the hardware we are coding for, but at least be informed about such issues. Don’t take the first measured value as a final one. Collect profiles and check that you didn’t hit some […]

Czytaj dalej

Learn return-oriented programming through a series of challenges designed to teach ROP techniques in isolation, with minimal reverse-engineering and bug-hunting. https://ropemporium.com/index.html

Czytaj dalej

Random ASCII: programming, tech topics, with a chance of unicyclingFinding a CPU Design Bug in the Xbox 36 The recent reveal of Meltdown and Spectre reminded me of the time I found a related design bug in the Xbox 360 CPU – a newly added instruction whose mere existence was dangerous. https://randomascii.wordpress.com/

Czytaj dalej

Open source library Elle –  C++ core library providing a C++ asynchronous framework, based on coroutines, that comes with a set of modules to easily perform networking, serialization, RPCs, cryptography, distributed consensus and more. http://blog.infinit.sh/elle-our-c-core-library-is-now-open-source/

Czytaj dalej

Interesting introduction to metaprogramming in the context of embedded systems.     http://odinthenerd.blogspot.com/2014/07/introduction-to-c-metaprogramming-part-1.html Corresponding  C++ library with full static checking and abstractions to special function registers of embedded microcontrollers. http://kvasir.io/

Czytaj dalej

https://msdn.microsoft.com/en-us/library/8903062a.aspx

Czytaj dalej

This website explains the infamously difficult to understand Paxos consensus protocol using easy to understand invariants and code. http://paxos.systems/  

Czytaj dalej

http://libmill.org/

Czytaj dalej