Articles

TWR vs MWR

Time-Weighted Return and Money-Weighted Return

WTF is SFINAE?

A quick example of SFINAE in C++

Negative externalities

On calling C from C++ and nefarious uses of extern.

Fun with roots

A few attempts at computing integer square roots.

Modular exponentials

A simple algorithm to calculate exponentials modulo n.

A simple problem in Haskell, using monads (Part 3/3)

Comparing Haskell with C++ and Rust.

A simple problem in Haskell, using monads (Part 2/3)

How the magic of sequence and mapM works.

A simple problem in Haskell, using monads (Part 1/3)

How to use sequence and mapM to make life easier.