Sockets – Drilldown
What Is a Socket?
Normally, a server runs on a specific computer and has a socket that is bound to a specific port number. The server just waits, listening to the socket for a client to make a connection request.
On the client-side: The client knows the hostname of the machine on which the server is running [...]
Floating-point arithmetic
Have you ever wondered why seemingly precise floating point numbers such as 0.1 are internally stored as 0.100000005960465188081882963405? Well, in a nutshell, the answer is that floating point types use base 2 representation instead of base 10. This means that we only get an approximation even for non-recurring fractional numbers such [...]