Human readable filesizes

If, like me, you have to create software that deals with files, it will probably come in handy to show your users how big the files are, so that they know what they’re getting into when they click the download button. And since not everybody has a computer background, looking at how many bytes a […]

Read more

D’Hondt Method Calculator

D’Hondt Method is a mathematical method to calculate the number of seats for each party/list of people running for an election. It works by recursivelly applying a mathematical formula to the set of election results (the vote count). That formula is quite simple: Where V is the number of votes and s is the number […]

Read more