How John Snow saved London
Six Pandemics ago Pandemics are not a new challenge for humanity. Over 200 years ago, cholera emerged as a deadly force, reshaping lives and cities alike. Thought to have originated in India in 1817, the disease spread globally, reaching London by 1832. The hardest-hit areas were the city’s poorest neighborhoods, where sanitation was severely lacking. At the time, the understanding of viruses was still decades away, leaving people to rely on guesswork and unproven methods in their efforts to slow the spread...
Money doesn't float
Today I learned why float or double data types should not be used for storing currency values. TLDR Floats and doubles don’t accurately represent base 10 values that we use for money. Floats are approximated, and if used for representing values that need to be exact, arithmetic operations can give results that are slightly off. These errors can compound over time and become significantly large. Number Systems The story starts at number systems and the basic differences between the human way of counting numbers (Base 10) and the machine way of counting numbers (Base 2)....