Jan 16, 2017
How many bytes are in a kilobyte? 1000 or 1024? The answer depends on who you ask. Google says 1 kilobyte = 1000 bytes. Hard drive manufacturers also say 1 kilobyte = 1000 bytes. However, my computer measures disk space and memory using the ratio 1 kilobyte = 1024 bytes. This discrepancy is well known and has been written about by folks like Jeff Atwood and Randall Munroe in xkcd 394.
Jan 10, 2017
A plethora of books, articles, and research papers have been written about software engineering quality measurement. Over the course of the last half-century, different methods of measurement have been developed, adopted, abused, and discarded for newer methods that aim to solve the problems of the previous methods.
Dec 03, 2016
What is the correct way to validate an email address? Technically, a valid email address is described in IETF RFC #822 and can be approximated by this regex (courtesy of Paul Warren):
Jul 17, 2016
Bitcoins are in vogue. Distributed ledgers, fiat currency, and the dramatic impact cryptocurrencies will have on financial systems are topics of discussion on trains, in board meetings, and at the dinner table. As of writing, the exchange rate is
1 BTC = 679.99 USD.
Nov 15, 2013
ByteSize is a utility class that makes byte size representation in code easier by removing ambiguity of the value being represented.
Feb 10, 2013
I’ve come across more than one occasion where a link on a page only needs to modify one or more query string values. Take for example a simple pagination list: