The Nature of Code

The Nature of Code

The goal of this book is simple. We want to take a look at something that naturally occurs in our physical world, then determine how we can write code to simulate that occurrence. In the end, if this book is anything, it is really just a good old-fashioned programming book.

Elementary Number Theory: Primes, Congruences, and Secrets

Elementary Number Theory: Primes, Congruences, and Secrets

This is a book about prime numbers, congruences, secret messages, and elliptic curves that you can read cover to cover. It grew out of undergraduate courses that the author taught at Harvard, UC San Diego, and the University of Washington.

Using Libsodium in PHP Projects

Using Libsodium in PHP Projects

A guide to using the libsodium PHP extension for modern, secure, and fast cryptography. Developers can now develop fast, secure, and reliable applications without needing to know what a stream cipher even is.

Threading in C#

Threading in C#

An extensive article on multithreading in C#. This tackles difficult issues such as thread safety, when to use Abort, Wait Handles vs Wait and Pulse, the implications of Apartment Threading in Windows Forms, using Thread Pooling, Synchronization Contexts, Memory Barriers and non-blocking synchronization constructs.