Text this: Mathematical principles of the internet